ZendTest\Stratigility\FinalHandlerTest::testInvokingWithErrorAndNoEnvironmentModeSetDoesNotSetResponseBodyToError PHP Method

testInvokingWithErrorAndNoEnvironmentModeSetDoesNotSetResponseBodyToError() public method

    public function testInvokingWithErrorAndNoEnvironmentModeSetDoesNotSetResponseBodyToError()
    {
        $error = 'error';
        $response = call_user_func($this->final, $this->request, $this->response, $error);
        $this->assertNotEquals($error, (string) $response->getBody());
    }
FinalHandlerTest