public void RemoveInterestedViewModelInstance_ViewModelForNotRegisteredInterestedInViewModel() { var manager = new ViewModelManager(); var interestedViewModel = new InterestedViewModel(); manager.RemoveInterestedViewModelInstance(typeof(InterestingViewModel), interestedViewModel); }
public void RemoveInterestedViewModelInstance_SecondArgumentNull() { var manager = new ViewModelManager(); ExceptionTester.CallMethodAndExpectException <ArgumentNullException>(() => manager.RemoveInterestedViewModelInstance(typeof(InterestingViewModel), null)); }
public void RemoveInterestedViewModelInstance_FirstArgumentNull() { var manager = new ViewModelManager(); ExceptionTester.CallMethodAndExpectException <ArgumentNullException>(() => manager.RemoveInterestedViewModelInstance(null, null)); }
public void RemoveInterestedViewModelInstance_SecondArgumentNull() { var manager = new ViewModelManager(); ExceptionTester.CallMethodAndExpectException<ArgumentNullException>(() => manager.RemoveInterestedViewModelInstance(typeof(InterestingViewModel), null)); }
public void RemoveInterestedViewModelInstance_FirstArgumentNull() { var manager = new ViewModelManager(); ExceptionTester.CallMethodAndExpectException<ArgumentNullException>(() => manager.RemoveInterestedViewModelInstance(null, null)); }