PHP Class Contao\CoreBundle\Test\DataCollector\ContaoDataCollectorTest

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

Public Methods

Method Description
testCollectInBackendScope ( ) Tests the collect() method in the back end scope.
testCollectInFrontendScope ( ) Tests the collect() method in the front end scope.
testInstantiation ( ) Tests the object instantiation.
testWithNonArrayData ( ) Tests that an empty array is returned if $this->data is not an array.
testWithUnknownKey ( ) Tests that an empty array is returned if the key is unknown.

Method Details

testCollectInBackendScope() public method

Tests the collect() method in the back end scope.

testCollectInFrontendScope() public method

Tests the collect() method in the front end scope.

testInstantiation() public method

Tests the object instantiation.
public testInstantiation ( )

testWithNonArrayData() public method

Tests that an empty array is returned if $this->data is not an array.

testWithUnknownKey() public method

Tests that an empty array is returned if the key is unknown.
public testWithUnknownKey ( )