PHP Class Contao\CoreBundle\Test\EventListener\MergeHttpHeadersListenerTest

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

Méthodes publiques

Méthode Description
testAddingAndRemovingMultiHeaders ( ) Tests that multi-value headers can be added and removed.
testHeadersAreMerged ( ) Tests that the headers sent using header() are merged into the response object.
testInstantiation ( ) Tests the object instantiation.
testListenerIsSkippedIfFrameworkNotInitialized ( ) Tests that the listener is skipped if the framework is not initialized.
testMultiValueHeadersAreNotOverriden ( ) Tests that multi-value headers are not overriden.

Method Details

testAddingAndRemovingMultiHeaders() public méthode

Tests that multi-value headers can be added and removed.

testHeadersAreMerged() public méthode

Tests that the headers sent using header() are merged into the response object.

testInstantiation() public méthode

Tests the object instantiation.
public testInstantiation ( )

testListenerIsSkippedIfFrameworkNotInitialized() public méthode

Tests that the listener is skipped if the framework is not initialized.

testMultiValueHeadersAreNotOverriden() public méthode

Tests that multi-value headers are not overriden.