PHP Class PhpBench\Tests\Unit\Registry\ConfigTest

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

Public Methods

Method Description
provideGoodName ( )
provideInvalidName ( )
setUp ( )
testExceptionOffsetNotExist ( ) It should throw an exception if an offset does not exist.
testGoodName ( $name ) It should allow good names.
testInvalidName ( $name ) It should throw an exception if an invalid name is given.

Method Details

provideGoodName() public method

public provideGoodName ( )

provideInvalidName() public method

public provideInvalidName ( )

setUp() public method

public setUp ( )

testExceptionOffsetNotExist() public method

It should throw an exception if an offset does not exist.

testGoodName() public method

It should allow good names.
public testGoodName ( $name )

testInvalidName() public method

It should throw an exception if an invalid name is given.
public testInvalidName ( $name )