return Integer.valueOf(13);
}
return proxy.invokeSuper(obj, args);
}
});
BeanInterfaceHib bean = (BeanInterfaceHib) enh.create();
ObjectMapper mapper = new ObjectMapper();
Map<String,Object> result = writeAndMap(mapper, bean);
assertEquals(1, result.size());
assertEquals(Integer.valueOf(13), result.get("x"));
}