Exemple #1
0
 public function testCanConstructWithStatusCode()
 {
     $response = new Response(404);
     $this->assertSame(404, $response->getStatusCode());
     $this->assertSame('Not Found', $response->getReasonPhrase());
 }