public void Test_that_Ack_call_calls_Ack_method_of_underlying_consumer_with_correct_delivery_tag() { const ulong deliveryTag = 42; var consumerMock = new Mock <IMessageConsumer>(); var message = new EnvelopedMessage ( Enumerable.Empty <byte>(), consumerMock.Object, string.Empty, string.Empty, deliveryTag, string.Empty ); message.Ack(); consumerMock.Verify(x => x.Ack(deliveryTag), Times.Once); }