MapToMap source = newInstance(MapToMap.class);
HashMap<String, Object> map = newInstance(HashMap.class);
map.put("A", Boolean.TRUE);
map.put("B", null);
source.setStandardMap(map);
MapToMapPrime destination = newInstance(MapToMapPrime.class);
HashMap<String, Object> hashMap = newInstance(HashMap.class);
hashMap.put("C", Boolean.TRUE);
destination.setStandardMap(hashMap);
mapper.map(source, destination);
Map<?, ?> resultingMap = destination.getStandardMap();
assertNotNull(resultingMap);
assertEquals(2, resultingMap.size());
assertEquals(Boolean.TRUE, resultingMap.get("A"));
assertNull(resultingMap.get("B"));