Exemplo n.º 1
0
 public void SetUp()
 {
     controllerMock = MockRepository.GenerateMock <IController>();
     controllerMock.Stub(x => x.LoadStreamTemplates()).Return(new List <IStreamItem>());
     viewModelSUT = new ViewModel(controllerMock);
 }
Exemplo n.º 2
0
 public void SetUp()
 {
     controllerMock = MockRepository.GenerateMock<IController>();
     controllerMock.Stub(x => x.LoadStreamTemplates()).Return(new List<IStreamItem>());
     viewModelSUT = new ViewModel(controllerMock);
 }