public void SubscribersStartedUp()
 {
     _subscriber1.Received().Listen(default);
Exemplo n.º 2
0
 public void SubscribersStartedUp()
 {
     _subscriber1.Received().Listen();
     _subscriber2.Received().Listen();
 }
Exemplo n.º 3
0
 public void SubscribersAreToldToStopListening()
 {
     _subscriber1.Received().StopListening();
     _subscriber2.Received().StopListening();
 }
Exemplo n.º 4
0
 public void HandlersAreAdded()
 {
     _subscriber.Received().AddMessageHandler(_handler1);
     _subscriber.Received().AddMessageHandler(_handler2);
 }
Exemplo n.º 5
0
 public void CallingStopTwiceDoesNotStopListeningTwice()
 {
     SystemUnderTest.Stop();
     _subscriber1.Received(1).StopListening();
 }