private BeanMappingBuilder getParentMapping(final Class<?> clazz) {
        return new BeanMappingBuilder() {
            protected void configure() {
                mapping(clazz,
                        clazz,
                        TypeMappingOptions.mapId(MAP_ID_PATENT)
                ).fields(
                        "children",
                        "children",
                        FieldsMappingOptions.collectionStrategy(true, RelationshipType.NON_CUMULATIVE),
                        FieldsMappingOptions.useMapId(MAP_ID_CHILD)
                );
            }
        };
    }
This test is to verify that the builder with the specified mapid is being used for the objects within a collection contained within an object which is being mapped.
<p>
There appeared to be an issue in {@link MappingProcessor} for non_cumulative Sets and Lists where mapToDestObject is
being called without passing the configured mapId of the object being mapped resulting in the default behaviour being
used rather than the configuration specific by the builder that has been defined against the mapid.
core/src/test/java/com/github/dozermapper/core/functional_tests/builder/DeepMappingWithMapIdTest.java