@Test
    public void testSetPrivateField() {
        mapper = getMapper("mappings/isaccessiblemapping.xml");
        Foo src = newInstance(Foo.class);
        List<String> list = (ArrayList<String>)newInstance(ArrayList.class);
        list.add("test1");
        list.add("test2");
        src.setCategories(list);

        FooPrime dest = mapper.map(src, FooPrime.class);
        assertNotNull(dest);
    }
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