| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 20 | public function testSendToInvalidUrl($host, $client) |
||
| 21 | { |
||
| 22 | $this->expectException(ClientException::class); |
||
| 23 | |||
| 24 | $request = new Request('GET', 'http://'.$host.':12345'); |
||
| 25 | |||
| 26 | /** @var BuzzClientInterface $client */ |
||
| 27 | $client = new $client(); |
||
| 28 | $client->sendRequest($request, ['timeout' => 0.1]); |
||
| 29 | } |
||
| 45 |