Example #1
0
 /**
  * @covers Guzzle\Http\Message\Response::isInformational
  */
 public function testIsInformational()
 {
     $response = new Response(100);
     $this->assertTrue($response->isInformational());
     $response = new Response(200);
     $this->assertFalse($response->isInformational());
 }
Example #2
0
 /**
  * {@inheritdoc}
  */
 public function isInformational()
 {
     return $this->response->isInformational();
 }