public function test_is_client_error() { $response = new HttpResponse(); $this->assertFalse($response->isClientError()); $response->setStatusCode(HttpStatusCode::NOT_FOUND); $this->assertTrue($response->isClientError()); }
public function test_is_client_error() { $response = new HttpResponse(); $this->assertFalse($response->isClientError()); $response->setStatusCode(HttpStatusCode::NOT_FOUND); $this->assertTrue($response->isClientError()); }