public async Task do_not_call_send_batch_if_cancelled() { theCancellation.Cancel(); await theSender.SendBatch(theBatch); theProtocol.DidNotReceive().SendBatch(theSenderCallback, theBatch); }
public async Task do_not_call_send_batch_if_cancelled() { theCancellation.Cancel(); await theSender.SendBatch(theBatch); #pragma warning disable 4014 theProtocol.DidNotReceive().SendBatch(theSenderCallback, theBatch); #pragma warning restore 4014 }