Class RegExpValidatorTest

java.lang.Object
de.hybris.platform.validation.validators.RegExpValidatorTest

@UnitTest public class RegExpValidatorTest extends Object
  • Field Details

    • regExpValidator

      protected RegExpValidator regExpValidator
    • validatorContext

      @Mock protected javax.validation.ConstraintValidatorContext validatorContext
    • regExpAnnotation

      @Mock protected RegExp regExpAnnotation
  • Constructor Details

    • RegExpValidatorTest

      public RegExpValidatorTest()
  • Method Details

    • 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()