@Test
public void testMappingSubclassImplementationWithoutExistingMapping() throws Exception {
MapperFactory factory = MappingUtil.getMapperFactory();
MappingHint myHint =
/**
* This sample hint converts "myProperty" to "property", and vis-versa.
*/
new MappingHint() {
public String suggestMappedField(String fromProperty, Class<?> fromPropertyType) {
if (fromProperty.startsWith("my")) {
return fromProperty.substring(2, 1).toLowerCase() + fromProperty.substring(3);
} else {