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);
 }
Пример #2
0
 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);
 }