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

        GenericTestType testType = new GenericTestType();
        testType.setA(15L);
        testType.setB("test");
        testType.setC(7);

        GenericTestType testType2 = mapper.map(testType, GenericTestType.class);
        Assert.assertEquals(testType.getA(), testType2.getA());
        Assert.assertEquals(testType.getB(), testType2.getB());
        Assert.assertEquals(testType.getC(), testType2.getC());
    }
test mapping of an object with three type parameters
core/src/test/java/com/github/dozermapper/core/functional_tests/GenericsTest.java