예제 #1
0
 protected override void When()
 {
     SystemUnderTest.AddNotificationSubscriber("region1", _subscriber1);
     SystemUnderTest.AddNotificationSubscriber("region1", _subscriber2);
     SystemUnderTest.Start();
     SystemUnderTest.Stop();
 }
        protected override Task When()
        {
            SystemUnderTest.AddNotificationSubscriber("region1", _subscriber1);
            SystemUnderTest.AddNotificationSubscriber("region1", _subscriber2);
            SystemUnderTest.Start();

            return(Task.CompletedTask);
        }
 protected override void When()
 {
     SystemUnderTest.AddNotificationSubscriber(_region, _subscriber);
     SystemUnderTest.AddNotificationSubscriber(_region, _subscriber);
     SystemUnderTest.AddMessageHandler(_region, _subscriber.Queue, _futureHandler1);
     SystemUnderTest.AddMessageHandler(_region, _subscriber.Queue, _futureHandler2);
     SystemUnderTest.Start();
 }
예제 #4
0
        protected override Task When()
        {
            SystemUnderTest.AddNotificationSubscriber(_region, _subscriber);
            SystemUnderTest.AddNotificationSubscriber(_region, _subscriber);
            SystemUnderTest.AddMessageHandler(_region, _subscriber.Queue, _futureHandler1);
            SystemUnderTest.AddMessageHandler(_region, _subscriber.Queue, _futureHandler2);
            SystemUnderTest.Start();

            return(Task.CompletedTask);
        }
 protected override Task When()
 {
     SystemUnderTest.AddNotificationSubscriber(" ", null);
     return(Task.CompletedTask);
 }
예제 #6
0
 protected override void When()
 {
     SystemUnderTest.AddNotificationSubscriber(" ", null);
 }