Example #1
0
 public function testResponse()
 {
     $response = \Exedra\Http\Response::createEmptyResponse();
     $this->assertEquals(\Exedra\Http\Response::CLASS, get_class($response));
     $this->assertEquals(200, $response->getStatusCode());
     $this->assertEquals('OK', $response->getReasonPhrase());
 }