public void Should_Validate_Char_Match(string value, string allowedChars, bool expectValid)
        {
            var chars     = allowedChars.ToCharArray();
            var validator = Validators.Match(chars);

            GenericValidatorsTest.AssertResult(validator(value), expectValid);
        }
        public void Should_Validate_OfLength(string value, int minLength, int maxLength, bool expectValid)
        {
            var validator = Validators.OfLength(minLength, maxLength);

            GenericValidatorsTest.AssertResult(validator(value), expectValid);
        }
        public void Should_Validate_Between(int min, int max, string value, bool expectValid)
        {
            var validator = Validators.Between(min, max);

            GenericValidatorsTest.AssertResult(validator(value), expectValid);
        }
        public void Should_Validate_NotBlankOrEmpty(string value, bool expectValid)
        {
            var validator = Validators.NotBlankOrEmpty();

            GenericValidatorsTest.AssertResult(validator(value), expectValid);
        }
        public void Should_Validate_Regex_Match(string value, string pattern, bool expectValid)
        {
            var validator = Validators.Match(new Regex(pattern));

            GenericValidatorsTest.AssertResult(validator(value), expectValid);
        }