/** * @covers WindowsAzure\Common\Internal\Http\HttpClient::getResponse */ public function testGetResponse() { // Setup $channel = new HttpClient(); $url = new Url('http://www.microsoft.com/'); $channel->setExpectedStatusCode('200'); $channel->send(array(), $url); // Test $response = $channel->getResponse(); // Assert $this->assertInstanceOf('\\HTTP_Request2_Response', $response); }