@Test
    public void testGlobalRelationshipType() {
        mapper = getMapper("mappings/relationship-type-global-configuration.xml");
        TestObject src = new TestObject();
        src.setHintList(new ArrayList<>(Collections.singletonList("a")));

        TestObjectPrime dest = new TestObjectPrime();
        dest.setHintList(new ArrayList<>(Arrays.asList("a", "b")));

        mapper.map(src, dest);

        assertEquals("wrong # of elements in dest list for non-cumulative mapping", 2, dest.getHintList().size());
    }
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