public function testCreates404ResponseWhenNoErrorIsPresent() { $response = call_user_func($this->final, $this->request, $this->response, null); $this->assertEquals(404, $response->getStatusCode()); }