示例#1
0
        public void AttackActionShouldCall()
        {
            bool called = true;

            controllerMock.Setup(s => s.PlayerAttackEnemy())
            .Callback(() => called = true);

            action.RespondToInput(controllerMock.Object, null);
            Assert.True(called);
        }