Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
ZendTest
Stratigility
FinalHandlerTest
tearDown
ZendTest\Stratigility\FinalHandlerTest::tearDown PHP Method
FinalHandlerTest Class Documentation
Show file
Open project: zendframework/zend-stratigility
tearDown()
public
method
public
tearDown
( )
public function tearDown() { $this->restoreErrorHandler(); }
FinalHandlerTest
restoreErrorHandler
setUp
tearDown
test404ResponseIncludesOriginalRequestUri
testCanReplaceOriginalResponseAndBodySizeAfterConstruction
testCreates404ResponseWhenNoErrorIsPresent
testErrorResponsePreservesResponseReasonPhraseIfStatusCodeMatchesExceptionCode
testErrorResponseUsesStandardHttpStatusCodeReasonPhraseIfExceptionCodeCausesStatusCodeToChange
testInvokingWithErrorAndNoEnvironmentModeSetDoesNotSetResponseBodyToError
testInvokingWithErrorAndNoStatusCodeSetsStatusTo500
testInvokingWithErrorInNonProductionModeSetsResponseBodyToError
testInvokingWithErrorInProductionSetsResponseToReasonPhrase
testInvokingWithExceptionAndNoEnvironmentModeSetDoesNotIncludeExceptionMessageInResponseBody
testInvokingWithExceptionAndNoEnvironmentModeSetDoesNotIncludeTraceInResponseBody
testInvokingWithExceptionInNonProductionModeIncludesExceptionMessageInResponseBody
testInvokingWithExceptionInNonProductionModeIncludesPrevTraceInResponseBody
testInvokingWithExceptionInNonProductionModeIncludesTraceInResponseBody
testInvokingWithExceptionWithInvalidCodeSetsStatusTo500
testInvokingWithExceptionWithValidCodeSetsStatusToExceptionCode
testReturnsResponseIfBodyLengthHasChanged
testReturnsResponseIfItDoesNotMatchResponsePassedToConstructor
testShouldNotDecoratePsrResponseAsStratigilityCompletedResponseWhenCreating404s
testShouldNotDecoratePsrResponseAsStratigilityCompletedResponseWhenHandlingErrors
testShouldNotMarkStratigilityResponseAsCompleteWhenCreating404s
testShouldNotMarkStratigilityResponseAsCompleteWhenHandlingErrors
testTriggersOnErrorCallableWithErrorWhenPresent