Method | Description | |
---|---|---|
getErrorTypes ( ) : array | Provides the data for the testContaoPageHandler() method. | |
setUpBeforeClass ( ) | ||
testBackendException ( ) | Tests rendering a back end exception. | |
testBypassUponWrongRequestFormat ( ) | Tests that the listener is bypassed if the request format is not "html". | |
testContaoPageHandler ( integer $type, Exception $exception ) | Tests rendering the Contao page handler. | |
testErrorScreen ( ) | Tests rendering the error screen. | |
testInstantiation ( ) | Tests the object instantiation. | |
testNonExistingPageHandler ( ) | Tests rendering a non existing page handler. | |
testServiceUnavailableHttpException ( ) | Tests rendering a service unavailable HTTP exception. | |
testUnknownHttpException ( ) | Tests rendering an unknown HTTP exception. |
Method | Description | |
---|---|---|
setUp ( ) |
Method | Description | |
---|---|---|
mockTokenStorage ( string $userClass = 'Contao\FrontendUser' ) : Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorage | PHPUnit_Framework_MockObject_MockObject | Mocks a token storage object. |
public getErrorTypes ( ) : array | ||
return | array |
public testBackendException ( ) |
public testBypassUponWrongRequestFormat ( ) |
public testContaoPageHandler ( integer $type, Exception $exception ) | ||
$type | integer | |
$exception | Exception |
public testNonExistingPageHandler ( ) |
public testUnknownHttpException ( ) |