Class RegExpValidatorTest


  • @UnitTest
    public class RegExpValidatorTest
    extends java.lang.Object
    • Field Detail

      • validatorContext

        @Mock
        protected javax.validation.ConstraintValidatorContext validatorContext
      • regExpAnnotation

        @Mock
        protected RegExp regExpAnnotation
    • Constructor Detail

      • RegExpValidatorTest

        public RegExpValidatorTest()
    • Method Detail

      • init

        public void init()
      • testIsValid

        public void testIsValid()
      • testIsValidForIncorrectRegexp

        public void testIsValidForIncorrectRegexp()
      • testIsValidForNull

        public void testIsValidForNull()
      • testIsValidForEmptyRegexp

        public void testIsValidForEmptyRegexp()
      • testIsValidForBlankRegexp

        public void testIsValidForBlankRegexp()
      • testIsValidForNullWhenNotEmptyIsTrue

        public void testIsValidForNullWhenNotEmptyIsTrue()
      • testIsValidForEmptyRegexpWhenNotEmptyIsTrue

        public void testIsValidForEmptyRegexpWhenNotEmptyIsTrue()
      • testIsValidForBlankRegexpWhenNotEmptyIsTrue

        public void testIsValidForBlankRegexpWhenNotEmptyIsTrue()