Method | Description | |
---|---|---|
reflectionClassMethodProvider ( ) : array | This data provider gets all the public methods from ReflectionClass, but filters out a few methods we want to test manually | |
testCannotClone ( ) | ||
testCreateFromNameThrowsException ( ) | ||
testCreateFromNodeThrowsException ( ) | ||
testExceptionThrownWhenInvalidInstanceGiven ( ) | ||
testExceptionThrownWhenNonObjectGiven ( ) | ||
testReflectionObjectExportMatchesExpectation ( ) | ||
testReflectionObjectOverridesAllMethodsInReflectionClass ( string $methodName ) | This test loops through the DataProvider (which provides a list of public methods from ReflectionClass), ensures the method exists in ReflectionObject and that when the method is called on ReflectionObject, the method of the same name on ReflectionClass is also called. | |
testReflectionWorksWithDynamicallyDeclaredMembers ( ) | ||
testReflectionWorksWithEvaledClasses ( ) | ||
testReflectionWorksWithInternalClasses ( ) |
Method | Description | |
---|---|---|
getPhpParser ( ) : PhpParser\Parser |
public reflectionClassMethodProvider ( ) : array | ||
return | array |
public testExceptionThrownWhenInvalidInstanceGiven ( ) |
public testExceptionThrownWhenNonObjectGiven ( ) |
public testReflectionObjectExportMatchesExpectation ( ) |
public testReflectionObjectOverridesAllMethodsInReflectionClass ( string $methodName ) | ||
$methodName | string |
public testReflectionWorksWithEvaledClasses ( ) |
public testReflectionWorksWithInternalClasses ( ) |