Пример #1
0
 public void AssertCommandState(MockCommand command, int initialize, int execute, int isFinished, int end,
                                int interrupted)
 {
     Assert.AreEqual(initialize, command.GetInitializeCount());
     Assert.AreEqual(execute, command.GetExecuteCount());
     Assert.AreEqual(isFinished, command.GetIsFinishedCount());
     Assert.AreEqual(end, command.GetEndCount());
     Assert.AreEqual(interrupted, command.GetInterruptedCount());
 }
Пример #2
0
 public void AssertCommandState(MockCommand command, int initialize, int execute, int isFinished, int end,
     int interrupted)
 {
     Assert.AreEqual(initialize, command.GetInitializeCount());
     Assert.AreEqual(execute, command.GetExecuteCount());
     Assert.AreEqual(isFinished, command.GetIsFinishedCount());
     Assert.AreEqual(end, command.GetEndCount());
     Assert.AreEqual(interrupted, command.GetInterruptedCount());
 }