public async Task do_not_call_send_batch_if_latched() { theSender.LatchAndDrain(); await theSender.SendBatch(theBatch); theProtocol.DidNotReceive().SendBatch(theSenderCallback, theBatch); theSenderCallback.Received().SenderIsLatched(theBatch); }
public async Task do_not_call_send_batch_if_latched() { await theSender.LatchAndDrain(); await theSender.SendBatch(theBatch); #pragma warning disable 4014 theProtocol.DidNotReceive().SendBatch(theSenderCallback, theBatch); theSenderCallback.Received().SenderIsLatched(theBatch); #pragma warning restore 4014 }