Class CircularReferencesTest


  • public class CircularReferencesTest
    extends ValidationTestBase
    Checks that circular references in the bean graph are correctly detected when validating.
    Author:
    Carlos Vara
    • Constructor Detail

      • CircularReferencesTest

        public CircularReferencesTest()
    • Method Detail

      • testAutoreferringBean

        public void testAutoreferringBean()
        Checks that validation correctly stops when finding a circular dependency.
      • testNonCircularArrayOfSameBean

        public void testNonCircularArrayOfSameBean()
        Checks that a bean is always validated when appearing in non-circular paths inside the bean graph.