PHP Class Cascade\Tests\Config\Loader\ClassLoaderTest

Author: Raphael Antonmattei ([email protected])
Inheritance: extends PHPUnit_Framework_TestCase
Afficher le fichier Open project: theorchard/monolog-cascade

Méthodes publiques

Méthode Description
dataFortestSetClass ( ) : array Provides options with and without a class param
setUp ( ) Set up function
tearDown ( ) Tear down function
testGetExtraOptionsHandler ( )
testLoad ( )
testLoadDependency ( ) Test a nested class to load
testOptionsToCamelCase ( )
testSetClass ( array $options, string $expectedClass ) Testing the setClass method

Method Details

dataFortestSetClass() public méthode

Provides options with and without a class param
public dataFortestSetClass ( ) : array
Résultat array of args

setUp() public méthode

Set up function
public setUp ( )

tearDown() public méthode

Tear down function
public tearDown ( )

testGetExtraOptionsHandler() public méthode

testLoad() public méthode

public testLoad ( )

testLoadDependency() public méthode

Test a nested class to load
public testLoadDependency ( )

testOptionsToCamelCase() public méthode

testSetClass() public méthode

Testing the setClass method
public testSetClass ( array $options, string $expectedClass )
$options array Array of options
$expectedClass string Expected classname of the instantiated object