public function test_is_server_error() { $response = new HttpResponse(); $this->assertFalse($response->isServerError()); $response->setStatusCode(HttpStatusCode::INTERNAL_SERVER_ERROR); $this->assertTrue($response->isServerError()); }