Class RegExpValidatorTest
java.lang.Object
de.hybris.platform.validation.validators.RegExpValidatorTest
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected RegExpprotected RegExpValidatorprotected javax.validation.ConstraintValidatorContext -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
regExpValidator
-
validatorContext
@Mock protected javax.validation.ConstraintValidatorContext validatorContext -
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()
-