spec\Tolerance\Throttling\RateLimit\LeakyBucketSpec::it_has_not_reached_the_limit_by_default PHP Метод

it_has_not_reached_the_limit_by_default() публичный Метод

public it_has_not_reached_the_limit_by_default ( Tolerance\Throttling\RateMeasureStorage\RateMeasureStorage $storage )
$storage Tolerance\Throttling\RateMeasureStorage\RateMeasureStorage
    function it_has_not_reached_the_limit_by_default(RateMeasureStorage $storage)
    {
        $storage->find('id')->willReturn(null);
        $this->hasReachedLimit('id')->shouldReturn(false);
    }