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

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

Protected Properties

Свойство Type Description
$yamlLoader PHPUnit_Framework_MockObject_MockBuilder Yaml loader mock builder

Méthodes publiques

Méthode 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 méthode

Data provider for testSupportsWithInvalidResource
public notStringDataProvider ( ) : array
Résultat array array non-string values

setUp() public méthode

public setUp ( )

tearDown() public méthode

public tearDown ( )

testLoad() public méthode

Test loading a Yaml string
public testLoad ( )

testSupportsWithInvalidResource() public méthode

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

testSupportsWithYamlFile() public méthode

Test loading a Yaml file

testSupportsWithYamlString() public méthode

Test loading a Yaml string

Property Details

$yamlLoader protected_oe property

Yaml loader mock builder
protected PHPUnit_Framework_MockObject_MockBuilder $yamlLoader
Résultat PHPUnit_Framework_MockObject_MockBuilder