public void LoadChildrenViewModelChangesCurrentViewModel() { var childrenViewModel = new ChildViewModelStub(); _utilityViewModel.LoadChildrenViewModel(childrenViewModel); Assert.AreEqual(childrenViewModel, _mainViewModel.CurrentViewModel); }
public void LoadingSpecifiedViewModelSetsItAsCurrentViewModel() { var calendarViewModel = new ChildViewModelStub(); _viewModel.LoadModel(calendarViewModel); Assert.AreEqual(calendarViewModel, _viewModel.CurrentViewModel); }