PHP Class Contao\CoreBundle\Test\DataCollector\ContaoDataCollectorTest

Inheritance: extends Contao\CoreBundle\Test\TestCase
Afficher le fichier Open project: contao/core-bundle

Méthodes publiques

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

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

testCollectInFrontendScope() public méthode

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

testInstantiation() public méthode

Tests the object instantiation.
public testInstantiation ( )

testWithNonArrayData() public méthode

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

testWithUnknownKey() public méthode

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