public void SubscribersStartedUp() { _subscriber1.Received().Listen(default);
public void SubscribersStartedUp() { _subscriber1.Received().Listen(); _subscriber2.Received().Listen(); }
public void SubscribersAreToldToStopListening() { _subscriber1.Received().StopListening(); _subscriber2.Received().StopListening(); }
public void HandlersAreAdded() { _subscriber.Received().AddMessageHandler(_handler1); _subscriber.Received().AddMessageHandler(_handler2); }
public void CallingStopTwiceDoesNotStopListeningTwice() { SystemUnderTest.Stop(); _subscriber1.Received(1).StopListening(); }