public async Task WhenRateLimitIs1_AndBatchSizeIs1_AndBatchIsProcessedIn60Seconds_NoDelay() { var batchSize = 1; var behaviour = _behaviourBuilder.WithRateLimitPerMinute(batchSize).Build(); var batchProcessedIn60Seconds = BatchProcessedInSeconds(behaviour, batchSize, 60); using (var cancellationTokenSource = new CancellationTokenSource()) { await behaviour.Invoke(context => context.Action(), new BatchContext { Action = batchProcessedIn60Seconds, TokenSource = cancellationTokenSource }); } await _throttler.DidNotReceiveWithAnyArgs().Delay(0); }