public void When_LeagueNameIsEmpty_Then_ValidationError()
        {
            var command = new AddPlayerToTeamCompetitorCommand
            {
                LeagueName = ""
            };

            var validator = new AddPlayerToTeamCompetitorCommandValidator();

            validator.ShouldHaveValidationErrorFor(x => x.LeagueName, command);
        }
        public void When_PlayerNameIsEmpty_Then_ValidationError()
        {
            var command = new AddPlayerToTeamCompetitorCommand
            {
                LeagueName = "Premier League",
                TeamName   = "Tottenham Hotspur",
                PlayerName = ""
            };

            var validator = new AddPlayerToTeamCompetitorCommandValidator();

            validator.ShouldHaveValidationErrorFor(x => x.PlayerName, command);
        }