public void SetUp() { controller = MockRepository.GenerateMock<IController>(); stepUICMock = MockRepository.GenerateMock<IStepUIC>(); controller.Stub(x => x.LoadHistory()).Return(new List<IHistoryItem>()); shellViewModelSUT = new MainShellViewModel(controller, stepUICMock); }
public void SetUp() { controller = MockRepository.GenerateMock <IController>(); stepUICMock = MockRepository.GenerateMock <IStepUIC>(); controller.Stub(x => x.LoadHistory()).Return(new List <IHistoryItem>()); shellViewModelSUT = new MainShellViewModel(controller, stepUICMock); }