ptm.addStringProperty2("stringProperty2Value");
Map<?, ?> map = mapper.map(ptm, HashMap.class, "myTestMapping");
assertEquals("stringPropertyValue", map.get("stringProperty"));
assertEquals("stringProperty2Value", map.get("myStringProperty"));
CustomMapIF customMap = mapper.map(ptm, CustomMap.class, "myCustomTestMapping");
assertEquals("stringPropertyValue", customMap.getValue("stringProperty"));
assertEquals("stringProperty2Value", customMap.getValue("myStringProperty"));
CustomMapIF custom = newInstance(CustomMap.class);
custom.putValue("myKey", "myValue");
mapper.map(ptm, custom, "myCustomTestMapping");
assertEquals("stringPropertyValue", custom.getValue("stringProperty"));
assertEquals("myValue", custom.getValue("myKey"));
}