public class CustomConstraintValidatorFactoryTest extends Object
ConstraintValidatorFactory
works
as expected.Modifier and Type | Class and Description |
---|---|
static interface |
CustomConstraintValidatorFactoryTest.GoodPerson |
static class |
CustomConstraintValidatorFactoryTest.Person |
Constructor and Description |
---|
CustomConstraintValidatorFactoryTest() |
Modifier and Type | Method and Description |
---|---|
void |
testValidationExceptionWhenFactoryReturnsNullValidator()
If the custom ConstraintValidatorFactory returns
null for a
valid ConstraintValidatorFactory.getInstance(Class) call, a
validation exception should be thrown. |
Copyright © 2010–2020 The Apache Software Foundation. All rights reserved.