Method | Description | |
---|---|---|
testInstantiation ( ) | Tests the object instantiation. | |
testWithContaoFramework ( ) | Tests that the listener does use the response if the Contao framework is booted. | |
testWithFragment ( ) | Tests that the listener does nothing if the request is a fragment. | |
testWithoutContaoFramework ( ) | Tests that the listener does nothing if the Contao framework is not booted. |
Method | Description | |
---|---|---|
setUp ( ) |
Method | Description | |
---|---|---|
mockPostResponseEvent ( string | null $requestUri = null ) : PHPUnit_Framework_MockObject_MockObject | Symfony\Component\HttpKernel\Event\PostResponseEvent | Returns a PostResponseEvent mock object. |
public testWithContaoFramework ( ) |
public testWithFragment ( ) |
public testWithoutContaoFramework ( ) |