Esempio n. 1
0
        public void Should_query_retry_possibility_before_each_additional_attempt_including_last_excess_one()
        {
            Execute();

            retryPolicy.Received(5).NeedToRetry(Arg.Any <Request>(), Arg.Any <RequestParameters>(), result.ReplicaResults);
        }
        public void Should_query_retry_possibility_before_each_additional_attempt()
        {
            Execute();

            retryPolicy.Received(4).NeedToRetry(result.ReplicaResults);
        }