public void ExactLengthValidator_NotValidTheory(string value, int length)
        {
            var validationMessage = ExactLength(value, length);

            AssertValidationMessage.NotEmptyMessage(validationMessage);
        }
        public void BetweenLengthValidator_NotValidTheory(string value, int minLength, int maxLength)
        {
            var validationMessage = BetweenLength(value, minLength, maxLength);

            AssertValidationMessage.NotEmptyMessage(validationMessage);
        }
        public void GreaterThanValidator_NotValidTheory(int value, int valueToCompare)
        {
            var validationMessage = GreaterThan(value, valueToCompare);

            AssertValidationMessage.NotEmptyMessage(validationMessage);
        }
        public void GreaterThanValidatorWithComparer_NotValidTheory(string value, string valueToCompare)
        {
            var validationMessage = GreaterThan(value, valueToCompare, StringComparer.OrdinalIgnoreCase);

            AssertValidationMessage.NotEmptyMessage(validationMessage);
        }
Exemplo n.º 5
0
        public void BetweenValidatorWithComparer_NotValidTheory(string value, string from, string to)
        {
            var validationMessage = Between(value, from, to, StringComparer.Ordinal);

            AssertValidationMessage.NotEmptyMessage(validationMessage);
        }
Exemplo n.º 6
0
        public void BetweenValidator_NotValidTheory(int value, int from, int to)
        {
            var validationMessage = Between(value, from, to);

            AssertValidationMessage.NotEmptyMessage(validationMessage);
        }
        public void GreaterThanOrEqualToValidatorWithoutComparer_NotValidTheory(string value, string valueToCompare)
        {
            var validationMessage = GreaterThanOrEqualTo(value, valueToCompare);

            AssertValidationMessage.NotEmptyMessage(validationMessage);
        }
        public void EqualValidator_NotValidTheory <TProp>(TProp value, TProp valueToCompare)
        {
            var validationMessage = Equal(value, valueToCompare);

            AssertValidationMessage.NotEmptyMessage(validationMessage);
        }
Exemplo n.º 9
0
        public void LessThanOrEqualToValidator_NotValidTheory(int value, int valueToCompare)
        {
            var validationMessage = LessThanOrEqualTo(value, valueToCompare);

            AssertValidationMessage.NotEmptyMessage(validationMessage);
        }