public void WorkNotifierCallsEventsInPairs_DefaultMessagesMatch() { var disposable = workNotifier.NotifyOfWork(); eventAggregator.Received(1).PublishOnUIThread(Arg.Is <WorkStarted>(s => s.Message == new WorkStarted().Message)); eventAggregator.DidNotReceive().PublishOnUIThread(Arg.Any <WorkFinished>()); eventAggregator.ClearReceivedCalls(); disposable.Dispose(); eventAggregator.DidNotReceive().PublishOnUIThread(Arg.Any <WorkStarted>()); eventAggregator.Received(1).PublishOnUIThread(Arg.Is <WorkFinished>(s => s.Message == new WorkFinished().Message)); }