public void Should_stop_at_first_accepted_result() { SetupResult(replica2, ResponseVerdict.Accept); Send(Budget.Infinite); sender.ReceivedCalls().Should().HaveCount(2); sender.Received(1).SendToReplicaAsync(replica1, request, Arg.Any <TimeSpan?>(), Arg.Any <TimeSpan>(), token); sender.Received(1).SendToReplicaAsync(replica2, request, Arg.Any <TimeSpan?>(), Arg.Any <TimeSpan>(), token); sender.DidNotReceive().SendToReplicaAsync(replica3, request, Arg.Any <TimeSpan?>(), Arg.Any <TimeSpan>(), token); }