public override void Setup() { base.Setup(); _testView = new TestInitializingView(new TestInitializingViewModel()); MockNavigationLookup.Where_GetViewType_returns <TestInitializingViewModel>(typeof(TestInitializingView)); MockServiceLocator.Where_Resolve_returns(_testView, typeof(TestInitializingView)); }
public override void Setup() { base.Setup(); _parameter = Guid.NewGuid(); _testView = new TestInitializingView(new TestInitializingViewModel()); _testNavigationView = new NavigationView(MockNavigationService.Object, _testView); MockNavigationLookup.Where_GetViewType_returns <TestInitializingViewModel>(typeof(TestInitializingView)); MockServiceLocator.Where_Resolve_returns(_testView, typeof(TestInitializingView)); }