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