public void Should_ack_with_provided_delivery_tag_with_multiple_flag() { var channel = Substitute.For<IModel>(); channel.IsOpen.Returns(true); var subscription = new Subscription(channel); // Action subscription.AckAllUpTo(10); // Assert channel.Received(1).BasicAck(10, true); }
public void Should_ack_with_provided_delivery_tag_with_multiple_flag() { var channel = Substitute.For <IModel>(); channel.IsOpen.Returns(true); var subscription = new Subscription(channel); // Action subscription.AckAllUpTo(10); // Assert channel.Received(1).BasicAck(10, true); }