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