PHP Class Cascade\Tests\Config\Loader\PhpArrayTest

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

Protected Properties

Property Type Description
$arrayLoader Cascade\Config\Loader\PhpArray Array loader object

Public Methods

Method Description
notStringDataProvider ( ) : array Data provider for testSupportsWithInvalidResource
setUp ( )
tearDown ( )
testLoad ( ) Test loading a Php array
testSupports ( ) Test supports with a valid array
testSupportsWithInvalidResource ( mixed $invalidResource ) Test loading resources supported by the YamlLoader

Method Details

notStringDataProvider() public method

Data provider for testSupportsWithInvalidResource
public notStringDataProvider ( ) : array
return array array of non-array values

setUp() public method

public setUp ( )

tearDown() public method

public tearDown ( )

testLoad() public method

Test loading a Php array
public testLoad ( )

testSupports() public method

Test supports with a valid array
public testSupports ( )

testSupportsWithInvalidResource() public method

Test loading resources supported by the YamlLoader
public testSupportsWithInvalidResource ( mixed $invalidResource )
$invalidResource mixed Invalid resource value

Property Details

$arrayLoader protected property

Array loader object
protected PhpArray,Cascade\Config\Loader $arrayLoader
return Cascade\Config\Loader\PhpArray