public void RedeliverTo_WhenNotificationWasNotDelivered_DoesNotTouchDecreasesDeliveryCount( INotificationListener listener, EventStreamUpdated notification, EventStreamReaderId consumerId) { Assert.Equal(0, notification.RedeliverTo(listener).DeliveryCount); }
public void RedeliverTo_DecreasesDeliveryCount( INotificationListener listener, EventStreamUpdated notification, EventStreamReaderId consumerId) { SaveAndRestore(notification); Assert.Equal(0, notification.RedeliverTo(listener).DeliveryCount); }