public function setTries($tries) { $this->tries = max(1, $tries | 0); return $this; }
public function testOneTry() { $this->setExpectedException(FailingTooHardException::class, '1'); $this->fetch($this->connector->setTries(1)); }