Package org.apache.bval.jsr
Class CustomConstraintValidatorFactoryTest
- java.lang.Object
-
- org.apache.bval.jsr.CustomConstraintValidatorFactoryTest
-
public class CustomConstraintValidatorFactoryTest extends Object
Checks that overriding the defaultConstraintValidatorFactory
works as expected.- Author:
- Carlos Vara
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
CustomConstraintValidatorFactoryTest.GoodPerson
static class
CustomConstraintValidatorFactoryTest.Person
-
Constructor Summary
Constructors Constructor Description CustomConstraintValidatorFactoryTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
testValidationExceptionWhenFactoryReturnsNullValidator()
If the custom ConstraintValidatorFactory returnsnull
for a validConstraintValidatorFactory.getInstance(Class)
call, a validation exception should be thrown.
-