public void testAllowedExceptionsDoNotThrowException() {
        Mapper mapper = getMapper("mappings/allowedExceptionsMapping.xml");
        TestObject to2 = newInstance(TestObject.class);
        to2.setThrowNonAllowedExceptionOnMap("do not throw me");
        try {
            mapper.map(to2, TestObjectPrime.class);
        } catch (RuntimeException e) {
            fail("This should not have been thrown");
        }
    }
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