@Test
    public void testPrivateConstructor() {
        PrivateConstructorBean src = PrivateConstructorBean.newInstance();
        src.setField1("someValue");

        PrivateConstructorBeanPrime dest = mapper.map(src, PrivateConstructorBeanPrime.class);

        assertNotNull("dest bean should not be null", dest);
        assertEquals("field1 not mapped correctly", src.getField1(), dest.getField1());
    }
When the source type is a Set and the destination is a Collection we expect that the
mapper narrows to the Set type instead of using a List by default.
<p>
issue https://github.com/DozerMapper/dozer/issues/287
core/src/test/java/com/github/dozermapper/core/functional_tests/GranularDozerBeanMapperTest.java