public class CircularReferencesTest extends ValidationTestBase
Modifier and Type | Class and Description |
---|---|
static class |
CircularReferencesTest.Boss |
static class |
CircularReferencesTest.Person |
factory, validator
Constructor and Description |
---|
CircularReferencesTest() |
Modifier and Type | Method and Description |
---|---|
void |
testAutoreferringBean()
Checks that validation correctly stops when finding a circular
dependency.
|
void |
testNonCircularArrayOfSameBean()
Checks that a bean is always validated when appearing in non-circular
paths inside the bean graph.
|
createValidator, setUp, setupValidatorFactory
public void testAutoreferringBean()
public void testNonCircularArrayOfSameBean()
Copyright © 2010–2020 The Apache Software Foundation. All rights reserved.