Example #1
0
 public void Test()
 {
     CyclicRunner.Verify(r => r.Stop(), Times.Once());
     Reporter.Verify(
         r => r.Report(string.Format(Res.AlarmsStoppedMessage, AlarmCategory.Name),
                       null, null), Times.Once());
 }
Example #2
0
 public void Test()
 {
     CyclicRunner.Verify(r => r.Stop(), Times.Once());
     Reporter.Verify(
         r => r.Report(string.Format(Res.IoDeviceStoppedMessage, IoDevice.Name), null,
                       null), Times.Once());
 }
Example #3
0
 public void Test()
 {
     CyclicRunner.Verify(r => r.Start(), Times.Once());
 }