Пример #1
0
 protected CoreTimer_Tests()
 {
     timerComponent = new Mock<ITimerComponent>();
     timer = new CoreTimer(timerComponent.Object);
     monitor = new TomatoEventMonitor(timer);
 }
Пример #2
0
 protected CoreTimer_Test()
 {
     timerComponent = MockRepository.GenerateMock<ITimerComponent>();
     timer = new CoreTimer(timerComponent);
     monitor = new TomatoEventMonitor(timer);
 }