public void PlacesPlayerCorrectlyBehindOther_02()
            {
                PlacedPlayer playerToBeBehind = new PlacedPlayer(7, 2);
                PlacedPlayer playerToPlace    = new PlacedPlayer();
                Location     expectedLocation = new Location(7, 5);

                IPlacementRule placementRule = new BehindPlayer(playerToBeBehind, 3);

                playerToPlace = placementRule.Place(playerToPlace);

                Assert.Equal <Location>(expectedLocation, playerToPlace.location);
            }
            public void PlacingPlayerNegativeUnitsBehindThrowsExceptionWithProperMessage()
            {
                PlacedPlayer playerToBeBehind = new PlacedPlayer();
                PlacedPlayer playerToPlace    = new PlacedPlayer();

                IPlacementRule     placementRule = new BehindPlayer(playerToBeBehind, -6);
                PlacementException ex            = Assert.Throws <PlacementException>(() => placementRule.Place(playerToPlace));

                Assert.Equal("Can't place player negative units behind player.", ex.Message);
            }