public function testConnectionTimeout()
{
try {
$this->fetch($this->connector->setTries(1));
} catch (FailingTooHardException $exception) {
self::assertInstanceOf(HttpConnectionException::class, $exception->getPrevious());
return;
}
self::fail('Expected exception was not thrown.');
}