PHP Class PhpBench\Tests\Unit\Benchmark\Remote\ReflectionHierarchyTest

Inheritance: extends PHPUnit_Framework_TestCase
Show file Open project: dantleech/phpbench

Public Methods

Method Description
setUp ( )
testAddReflectionsAndIterate ( ) It can have reflection classes added to it.
testGetTopNoClasses ( ) It should throw an exception if there are no classes and the top is requested.
testHasMethod ( ) It can determine if a method exists.
testHasStaticMethod ( ) It can determine if a method is static.

Method Details

setUp() public method

public setUp ( )

testAddReflectionsAndIterate() public method

It is iterable. It should get the top reflection.

testGetTopNoClasses() public method

It should throw an exception if there are no classes and the top is requested.
public testGetTopNoClasses ( )

testHasMethod() public method

It can determine if a method exists.
public testHasMethod ( )

testHasStaticMethod() public method

It can determine if a method is static.
public testHasStaticMethod ( )