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