PHP Class Cascade\Tests\Config\Loader\ClassLoaderTest

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

Public Methods

Method 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 method

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

setUp() public method

Set up function
public setUp ( )

tearDown() public method

Tear down function
public tearDown ( )

testGetExtraOptionsHandler() public method

testLoad() public method

public testLoad ( )

testLoadDependency() public method

Test a nested class to load
public testLoadDependency ( )

testOptionsToCamelCase() public method

testSetClass() public method

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