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

ThrottleMode_must_deny_consumption_of_any_amount_of_tokens_when_blackhole() private method

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