@Test
    public void testMirroredSelfReferencingTypes() {
        TypeA src = new TypeA();
        src.setId("1");
        TypeA parent = new TypeA();
        parent.setId("2");
        src.setParent(parent);

        TypeB result = new TypeB();
        mapper.map(src, result);

        assertNotNull(result);
        assertEquals("1", result.getId());
        assertEquals("2", result.getParent().getId());
    }
this test should validate dozerXX correct behaviour in front of recursive class references in a subclass. With
dozer3.0 the first reference is not used but the recursion is correct on the next levels.
core/src/test/java/com/github/dozermapper/core/functional_tests/RecursiveTest.java