示例#1
0
    public void testCancelAction()
    {
        var action = new TestAction();

        action.Cancel();
        actionSystem.Perform(action);
        RunToCompletion();
        Assert.IsFalse(action.didPrepare);
        Assert.IsFalse(action.didPerform);
    }