Exemple #1
0
        public void ExecuteTest()
        {
            var ch                 = new Character();
            var mockView           = new Mock <ICharacterView>();
            var mockCommandManager = new Mock <IManager <ICommand> >();
            var pc                 = new CharacterController(ch, mockView.Object, mockCommandManager.Object, null, null);
            var command            = new Go();

            command.Execute(pc, PlayerInput.Parse("north"));
        }