Exemplo n.º 1
0
        public RetrySubscriptionTests()
        {
            A.CallTo(() => eventStore.CreateSubscription(A <IEventSubscriber> .Ignored, A <string> .Ignored, A <string> .Ignored)).Returns(eventSubscription);

            sut = new RetrySubscription(eventStore, eventSubscriber, streamFilter, null)
            {
                ReconnectWaitMs = 0
            };

            sutSubscriber = sut;
        }