Esempio n. 1
0
        public void TakeTurnMovesTokenBasedOnDieRoll()
        {
            var diceRollTotal = 6;
            mockDiceRoller.Setup(r => r.RollDice()).Returns(diceRollTotal);

            turnTaker.TakeTurn(player);

            mockMovementService.Verify(s => s.MovePlayer(player, diceRollTotal));
            mockDiceRoller.VerifyAll();
        }