assertEquals(ex.enumProperty, readEx.enumProperty);
}
public void testJsonTypeResolver() throws Exception
{
JacksonAnnotationIntrospector ai = new JacksonAnnotationIntrospector();
AnnotatedClass ac = AnnotatedClass.constructWithoutSuperTypes(TypeResolverBean.class, ai, null);
JavaType baseType = TypeFactory.defaultInstance().constructType(TypeResolverBean.class);
ObjectMapper mapper = new ObjectMapper();
TypeResolverBuilder<?> rb = ai.findTypeResolver(mapper.getDeserializationConfig(), ac, baseType);
assertNotNull(rb);
assertSame(DummyBuilder.class, rb.getClass());
}