public class ValidatorResolutionTest extends ValidationTestBase
Modifier and Type | Class and Description |
---|---|
static class |
ValidatorResolutionTest.InvalidPersonNameValidator |
static class |
ValidatorResolutionTest.Person |
static interface |
ValidatorResolutionTest.PersonName |
factory, validator
Constructor and Description |
---|
ValidatorResolutionTest() |
Modifier and Type | Method and Description |
---|---|
void |
testInvalidValidator()
Check that a
ConstraintDefinitionException is thrown when the
only available validator is associated with a different annotation type. |
createValidator, setUp, setupValidatorFactory
Copyright © 2010–2020 The Apache Software Foundation. All rights reserved.