public void PlayerIsInJail() { var player = new Player("Name"); var action = new GoToJailAction(); action.ProcessAction(player); Assert.IsTrue(player.IsInJail); }
public void PlayerLocationIsSetToJailLocation() { var player = new Player("Name"); var action = new GoToJailAction(); action.ProcessAction(player); Assert.AreEqual(LocationConstants.JailIndex, player.Location); }