Exemple #1
0
 protected override void When()
 {
     SystemUnderTest.AddNotificationTopicSubscriber(_topic, _subscriber);
     SystemUnderTest.AddMessageHandler(_handler1);
     SystemUnderTest.AddMessageHandler(_handler2);
     SystemUnderTest.Start();
 }
Exemple #2
0
 protected override void When()
 {
     SystemUnderTest.AddNotificationTopicSubscriber("OrderDispatch", _subscriber1);
     SystemUnderTest.AddNotificationTopicSubscriber("CustomerCommunication", _subscriber2);
     SystemUnderTest.Start();
     SystemUnderTest.Stop();
 }
 protected override void When()
 {
     SystemUnderTest.AddNotificationTopicSubscriber(" ", null);
 }
Exemple #4
0
 protected override void When()
 {
     SystemUnderTest.AddNotificationTopicSubscriber(NotificationTopic.OrderDispatch, Substitute.For <INotificationSubscriber>());
     SystemUnderTest.AddNotificationTopicSubscriber(NotificationTopic.OrderDispatch, Substitute.For <INotificationSubscriber>());
 }