PHP Class Cascade\Tests\Config\Loader\FileLoader\YamlTest

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

Protected Properties

Property Type Description
$yamlLoader PHPUnit_Framework_MockObject_MockBuilder Yaml loader mock builder

Public Methods

Method Description
notStringDataProvider ( ) : array Data provider for testSupportsWithInvalidResource
setUp ( )
tearDown ( )
testLoad ( ) Test loading a Yaml string
testSupportsWithInvalidResource ( mixed $invalidResource ) Test loading resources supported by the YamlLoader
testSupportsWithYamlFile ( ) Test loading a Yaml file
testSupportsWithYamlString ( ) Test loading a Yaml string

Method Details

notStringDataProvider() public method

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

setUp() public method

public setUp ( )

tearDown() public method

public tearDown ( )

testLoad() public method

Test loading a Yaml string
public testLoad ( )

testSupportsWithInvalidResource() public method

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

testSupportsWithYamlFile() public method

Test loading a Yaml file

testSupportsWithYamlString() public method

Test loading a Yaml string

Property Details

$yamlLoader protected_oe property

Yaml loader mock builder
protected PHPUnit_Framework_MockObject_MockBuilder $yamlLoader
return PHPUnit_Framework_MockObject_MockBuilder