PHP Class Contao\CoreBundle\Test\EventListener\MergeHttpHeadersListenerTest

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

Public Methods

Method 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 method

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

testHeadersAreMerged() public method

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

testInstantiation() public method

Tests the object instantiation.
public testInstantiation ( )

testListenerIsSkippedIfFrameworkNotInitialized() public method

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

testMultiValueHeadersAreNotOverriden() public method

Tests that multi-value headers are not overriden.