Bert.RateLimiters.Tests.RollingWindowThrottlerTests.ShouldThrottle_WhenCalled_WillReturnFalse C# (CSharp) Метод

ShouldThrottle_WhenCalled_WillReturnFalse() приватный Метод

private ShouldThrottle_WhenCalled_WillReturnFalse ( ) : void
Результат void
        public void ShouldThrottle_WhenCalled_WillReturnFalse()
        {
            var throttler = new RollingWindowThrottler(1, TimeSpan.FromSeconds(1));
            long waitTimeMillis;
            var shouldThrottle = throttler.ShouldThrottle(1, out waitTimeMillis);

            shouldThrottle.ShouldBeFalse();
        }