Akka.Remote.Tests.Transport.ThrottleModeSpec.ThrottleMode_must_allow_consumption_of_infinite_amount_of_tokens_when_unthrottled C# (CSharp) Method

ThrottleMode_must_allow_consumption_of_infinite_amount_of_tokens_when_unthrottled() private method

        public void ThrottleMode_must_allow_consumption_of_infinite_amount_of_tokens_when_unthrottled()
        {
            var bucket = Unthrottled.Instance;
            bucket.TryConsumeTokens(0, 100).ShouldBe(Tuple.Create<ThrottleMode,bool>(Unthrottled.Instance, true));
            bucket.TryConsumeTokens(100000, 1000).ShouldBe(Tuple.Create<ThrottleMode, bool>(Unthrottled.Instance, true));
            bucket.TryConsumeTokens(1000000, 10000).ShouldBe(Tuple.Create<ThrottleMode, bool>(Unthrottled.Instance, true));
        }