PHP Class PhpBench\Tests\Unit\Formatter\FormatRegistryTest

Inheritance: extends PHPUnit_Framework_TestCase
Afficher le fichier Open project: dantleech/phpbench

Méthodes publiques

Méthode Description
setUp ( )
testRegisterExisting ( ) It should throw an exception if an attempt is made to add a duplicate format.
testRegisterRetrieve ( ) It should register and retrieve formats.
testUnknownFormatter ( ) It should throw an exception if an unknown formatter is requiested.

Method Details

setUp() public méthode

public setUp ( )

testRegisterExisting() public méthode

It should throw an exception if an attempt is made to add a duplicate format.

testRegisterRetrieve() public méthode

It should register and retrieve formats.

testUnknownFormatter() public méthode

It should throw an exception if an unknown formatter is requiested.