Exemplo n.º 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();
 }
Exemplo n.º 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);
 }
Exemplo n.º 6
0
 protected override void When()
 {
     SystemUnderTest.AddNotificationSubscriber(" ", null);
 }