public function ClientTest::testUsesCustomClient in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/fabpot/goutte/Goutte/Tests/ClientTest.php \Goutte\Tests\ClientTest::testUsesCustomClient()
File
- vendor/
fabpot/ goutte/ Goutte/ Tests/ ClientTest.php, line 55
Class
- ClientTest
- Goutte Client Test.
Namespace
Goutte\TestsCode
public function testUsesCustomClient() {
$guzzle = new GuzzleClient();
$client = new Client();
$this
->assertSame($client, $client
->setClient($guzzle));
$this
->assertSame($guzzle, $client
->getClient());
}