public function testHasRequestAndResponse()
 {
     $req = new puzzle_message_Request('GET', '/');
     $res = new puzzle_message_Response(200);
     $e = new puzzle_exception_RequestException('foo', $req, $res);
     $this->assertSame($req, $e->getRequest());
     $this->assertSame($res, $e->getResponse());
     $this->assertTrue($e->hasResponse());
     $this->assertEquals('foo', $e->getMessage());
 }