| Conditions | 2 |
| Paths | 2 |
| Total Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | public function testCreateClient() |
||
| 15 | { |
||
| 16 | if (!class_exists(\Http\Adapter\Guzzle6\Client::class)) { |
||
| 17 | $this->markTestSkipped('Guzzle6 adapter is not installed'); |
||
| 18 | } |
||
| 19 | |||
| 20 | $factory = new Guzzle6Factory(); |
||
| 21 | $client = $factory->createClient(); |
||
| 22 | |||
| 23 | $this->assertInstanceOf(Client::class, $client); |
||
| 24 | } |
||
| 25 | } |
||
| 26 |