if($tokens > $limit){ thrownew \InvalidArgumentException(sprintf('Cannot reserve more tokens (%d) than the size of the rate limiter (%d).', $tokens, $limit)); }
foreach($this->config['limits']as$limit){ for($i = 0; $i < 2; ++$i){ // request should be thorttled for new request
static::assertTrue($backoff->shouldThrottle($backoff->getAttempts() + 1, time()));