public void SetUp()
 {
     logMock = MockRepository.GenerateMock<ILog>();
     sleep = MockRepository.GenerateMock<ISleep>();
     stop = MockRepository.GenerateMock<IStop>();
     this.runTaskSet = MockRepository.GenerateMock<IRunTaskSet>();
 }
Пример #2
0
 public Controller(IRunTaskSet runTaskSet, ISleep sleep, IStop stop, ILog log)
 {
     //this.config = config;
     this.runTaskSet = runTaskSet;
     this.sleep = sleep;
     this.stop = stop;
     this.log = log;
 }