コード例 #1
0
        public void SubscriptionWorker_CanBeCreated_IsCreated()
        {
            SubscriptionWorker sw = SubscriptionWorker.CreateConcurrentSubscriptionWorker(this.EventStoreConnectionString,
                                                                                          this.domainEventHandlerResolver.Object,
                                                                                          this.SubscriptionRepository).UseInMemory();

            sw.ShouldNotBeNull();
            sw.InflightMessages.ShouldBe(200);
            sw.PersistentSubscriptionPollingInSeconds.ShouldBe(60);
        }