PHP Class Contao\CoreBundle\Test\Config\Dumper\CombinedFileDumperTest

Inheritance: extends Contao\CoreBundle\Test\TestCase
Datei anzeigen Open project: contao/core-bundle

Public Methods

Method Description
testDump ( ) Tests dumping a file.
testDumpWithNamespace ( ) Tests dumping a file with namespace declaration.
testInstantiation ( ) Tests the object instantiation.
testInvalidHeader ( ) Tests setting an invalid header.
testValidHeader ( ) Tests setting a valid header.

Private Methods

Method Description
mockFilesystem ( mixed $expects ) : Symfony\Component\Filesystem\Filesystem Returns a mocked filesystem object.
mockLoader ( ) : PhpFileLoader Returns a mocked file loader object.

Method Details

testDump() public method

Tests dumping a file.
public testDump ( )

testDumpWithNamespace() public method

Tests dumping a file with namespace declaration.

testInstantiation() public method

Tests the object instantiation.
public testInstantiation ( )

testInvalidHeader() public method

Tests setting an invalid header.
public testInvalidHeader ( )

testValidHeader() public method

Tests setting a valid header.
public testValidHeader ( )