Example #1
0
 /**
  * @testdox Properly parses response status and returns status code and reason phrase.
  * @test
  */
 public function testParseStatusAndReturnStatusCodeAndReasonPhrase()
 {
     $response = new Response(Status::OK);
     $this->assertSame(200, $response->getStatusCode());
     $this->assertEquals('Ok', $response->getReasonPhrase());
 }