public void should_NOT_remove_itself_from_the_event_aggregator() { theEvents.AssertWasNotCalled(x => x.RemoveListener(theListener)); }
public void User_options_are_not_saved_with_project_if_not_dirty() { controller.SaveUserOptions("", NullProgressMonitor.CreateInstance()); eventAggregator.AssertWasNotCalled(ea => ea.Send(Arg <object> .Is.Anything, Arg <UserOptionsSaved> .Is.Anything)); }