Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Home
BetterReflectionTest
SourceLocator
Type
SingleFileSourceLocatorTest
PHP Class BetterReflectionTest\SourceLocator\Type\SingleFileSourceLocatorTest
Inheritance:
extends
PHPUnit_Framework_TestCase
显示文件
Open project: roave/better-reflection
Public Methods
Method
Description
testConstructorThrowsExceptionIfEmptyFileGiven
( )
testConstructorThrowsExceptionIfFileDoesNotExist
( )
testConstructorThrowsExceptionIfFileIsNotAFile
( )
testReturnsNullWhenSourceDoesNotContainClass
( )
testReturnsReflectionWhenSourceHasClass
( )
Private Methods
Method
Description
getMockReflector
( ) :
BetterReflection\Reflector\Reflector | PHPUnit_Framework_MockObject_MockObject
Method Details
testConstructorThrowsExceptionIfEmptyFileGiven()
public
method
public
testConstructorThrowsExceptionIfEmptyFileGiven
( )
testConstructorThrowsExceptionIfFileDoesNotExist()
public
method
public
testConstructorThrowsExceptionIfFileDoesNotExist
( )
testConstructorThrowsExceptionIfFileIsNotAFile()
public
method
public
testConstructorThrowsExceptionIfFileIsNotAFile
( )
testReturnsNullWhenSourceDoesNotContainClass()
public
method
public
testReturnsNullWhenSourceDoesNotContainClass
( )
testReturnsReflectionWhenSourceHasClass()
public
method
public
testReturnsReflectionWhenSourceHasClass
( )