Example #1
0
        public void ExecuteExitCommand()
        {
            SetupTests();
            IGameCommand sut = new Exit();

            string[] args   = { "Exit" };
            bool     result = sut.ExecuteCommand(args, _player);

            Assert.IsTrue(result);
            Assert.IsTrue(_player.CurrentHitPoints == 0);
        }