@Test
    public void testGlobalBeanFactoryAppliedToDefaultMappings() {
        mapper = getMapper("mappings/global-configuration.xml");
        TestObjectPrime dest = mapper.map(newInstance(TestObject.class), TestObjectPrime.class);

        assertNotNull("created by factory name should not be null", dest.getCreatedByFactoryName());
        assertEquals(SampleDefaultBeanFactory.class.getName(), dest.getCreatedByFactoryName());
    }
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