PHP Class BetterReflectionTest\SourceLocator\Type\SingleFileSourceLocatorTest

Inheritance: extends PHPUnit_Framework_TestCase
Afficher le fichier Open project: roave/better-reflection

Méthodes publiques

Méthode Description
testConstructorThrowsExceptionIfEmptyFileGiven ( )
testConstructorThrowsExceptionIfFileDoesNotExist ( )
testConstructorThrowsExceptionIfFileIsNotAFile ( )
testReturnsNullWhenSourceDoesNotContainClass ( )
testReturnsReflectionWhenSourceHasClass ( )

Private Methods

Méthode Description
getMockReflector ( ) : BetterReflection\Reflector\Reflector | PHPUnit_Framework_MockObject_MockObject

Method Details

testConstructorThrowsExceptionIfEmptyFileGiven() public méthode

testConstructorThrowsExceptionIfFileDoesNotExist() public méthode

testConstructorThrowsExceptionIfFileIsNotAFile() public méthode

testReturnsNullWhenSourceDoesNotContainClass() public méthode

testReturnsReflectionWhenSourceHasClass() public méthode