public void TestPlayersCount()
        {
            var players = new Player[10];

            var team = new Team(players, null);
            var validator = new StandardTeamValidator();

            Assert.IsFalse(validator.Validate(team));
        }
        public void TestNullPlayers()
        {
            var players = new Player[11];
            for (int i = 0; i < 11; i++)
                players[i] = new Player("Player" + i);

            var team = new Team(players, null);
            var validator = new StandardTeamValidator();

            Assert.IsTrue(validator.Validate(team));
        }