1
0
mirror of https://github.com/guzzle/guzzle.git synced 2025-01-17 21:38:16 +01:00

Adding more coverage

This commit is contained in:
Michael Dowling 2011-11-11 18:53:12 -06:00
parent 3acd76070a
commit 4a263abf59

View File

@ -5,6 +5,7 @@ namespace Guzzle\Tests\Service;
use Guzzle\Guzzle;
use Guzzle\Common\Collection;
use Guzzle\Common\Log\ClosureLogAdapter;
use Guzzle\Http\Message\Response;
use Guzzle\Http\Message\RequestFactory;
use Guzzle\Http\Plugin\ExponentialBackoffPlugin;
use Guzzle\Http\Plugin\LogPlugin;
@ -468,5 +469,7 @@ class ClientTest extends \Guzzle\Tests\GuzzleTestCase
$client = new Client();
$request = $client->get('http://www.google.com/');
$this->assertEquals('http://www.google.com/', $request->getUrl());
$request->setResponse(new Response(200), true);
$request->send();
}
}