Beispiel #1
0
 public void Dispose_should_deregister_the_listener_from_OnMessage_event()
 {
     MessageListener.Start(_source).Dispose();
     Assert.IsEmpty(_source.GetInvocationList());
 }