public void Validate_SuccessfullyIdentifiesNameNoReservedNames()
        {
            var validator = new ReservedNamesValidator(new string[] { "Reserved" });

            var result = validator.Validate("Blank1");

            Assert.True(result.IsValid);
            Assert.True(result.Errors.Count == 0);
        }
        public void Validate_SuccessfullyIdentifiesNameReservedNames()
        {
            var validator = new ReservedNamesValidator(new string[] { "Reserved" });

            var result = validator.Validate("Reserved");

            Assert.False(result.IsValid);
            Assert.True(result.Errors.Count == 1);
            Assert.Equal(ValidationErrorType.ReservedName, result.Errors.FirstOrDefault()?.ErrorType);
            Assert.Equal(nameof(ReservedNamesValidator), result.Errors.FirstOrDefault()?.ValidatorName);
        }