예제 #1
0
 public void Should_invoke_the_consumer_error_strategy()
 {
     consumerErrorStrategy.Received().HandleConsumerError(Arg.Any <ConsumerExecutionContext>(), Arg.Any <Exception>());
 }
 public void Should_handle_consumer_error()
 {
     consumerErrorStrategy.Received().HandleConsumerError(context, Arg.Any <Exception>());
 }
 public void Should_handle_consumer_cancelled()
 {
     consumerErrorStrategy.Received().HandleConsumerCancelled(context);
 }