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