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