PHP Class BetterReflectionTest\Reflection\ReflectionMethodTest

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

Public Methods

Method Description
methodStringRepresentations ( )
modifierProvider ( )
prototypeProvider ( )
setUp ( )
testCreateFromInstance ( )
testCreateFromName ( )
testGetDocBlockReturnTypes ( )
testGetFileName ( )
testGetMethodNodeFailsWhenNodeIsNotClassMethod ( )
testGetModifiers ( string $methodName, integer $expectedModifier, array $expectedModifierNames )
testGetNumberOfOptionalParameters ( )
testGetNumberOfParameters ( )
testGetParameters ( )
testGetPrototype ( string $class, string $method, string | null $expectedPrototype )
testImplementsReflector ( )
testIsConstructorDestructor ( )
testMethodNameWithNamespace ( )
testStringCast ( string $methodName, string $expectedStringValue )
testVisibilityOfMethods ( string $method, boolean $shouldBePublic, boolean $shouldBePrivate, boolean $shouldBeProtected, boolean $shouldBeFinal, boolean $shouldBeAbstract, boolean $shouldBeStatic )
visibilityProvider ( ) : array

Method Details

methodStringRepresentations() public method

modifierProvider() public method

public modifierProvider ( )

prototypeProvider() public method

public prototypeProvider ( )

setUp() public method

public setUp ( )

testCreateFromInstance() public method

testCreateFromName() public method

public testCreateFromName ( )

testGetDocBlockReturnTypes() public method

testGetFileName() public method

public testGetFileName ( )

testGetMethodNodeFailsWhenNodeIsNotClassMethod() public method

testGetModifiers() public method

public testGetModifiers ( string $methodName, integer $expectedModifier, array $expectedModifierNames )
$methodName string
$expectedModifier integer
$expectedModifierNames array

testGetNumberOfOptionalParameters() public method

testGetNumberOfParameters() public method

testGetParameters() public method

public testGetParameters ( )

testGetPrototype() public method

public testGetPrototype ( string $class, string $method, string | null $expectedPrototype )
$class string
$method string
$expectedPrototype string | null

testImplementsReflector() public method

testIsConstructorDestructor() public method

testMethodNameWithNamespace() public method

testStringCast() public method

public testStringCast ( string $methodName, string $expectedStringValue )
$methodName string
$expectedStringValue string

testVisibilityOfMethods() public method

public testVisibilityOfMethods ( string $method, boolean $shouldBePublic, boolean $shouldBePrivate, boolean $shouldBeProtected, boolean $shouldBeFinal, boolean $shouldBeAbstract, boolean $shouldBeStatic )
$method string
$shouldBePublic boolean
$shouldBePrivate boolean
$shouldBeProtected boolean
$shouldBeFinal boolean
$shouldBeAbstract boolean
$shouldBeStatic boolean

visibilityProvider() public method

public visibilityProvider ( ) : array
return array