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