PHP Class BetterReflectionTest\Reflector\LocatorTest

Inheritance: extends PHPUnit_Framework_TestCase
Show file Open project: roave/better-reflection

Public Methods

Method Description
testFindReflectionsOfTypeThrowsParseToAstFailureExceptionWithInvalidCode ( )
testReflectThrowsExeptionWhenClassNotFoundAndNoNodesExist ( )
testReflectThrowsExeptionWhenClassNotFoundButNodesExist ( )
testReflectingTopLevelClass ( )
testReflectingTopLevelFunction ( )
testReflectingWithinNamespace ( )

Private Methods

Method Description
getIdentifier ( $name, $type )

Method Details

testFindReflectionsOfTypeThrowsParseToAstFailureExceptionWithInvalidCode() public method

testReflectThrowsExeptionWhenClassNotFoundAndNoNodesExist() public method

testReflectThrowsExeptionWhenClassNotFoundButNodesExist() public method

testReflectingTopLevelClass() public method

testReflectingTopLevelFunction() public method

testReflectingWithinNamespace() public method