@Test
    public void testDeepGenericInheritanceTest() {
        Mapper mapper = DozerBeanMapperBuilder.buildDefault();

        B b = new B();
        b.setId(12345);
        C c1 = mapper.map(b, C.class);
        Assert.assertEquals(c1.getId().longValue(), 12345L);
    }
test mapping of a generic field with inheritance
core/src/test/java/com/github/dozermapper/core/functional_tests/GenericsTest.java