예제 #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());
 }