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