ObjectMapperProvider implements ContextResolver<ObjectMapper> { @Override public ObjectMapper getContext(Class<?> type) { return JacksonUtil.getMapper(); }  @Override ObjectMapper getContext(Class<?> type);  }
@Test public void testGetContext() { assertThat(provider.getContext(null),is(JacksonUtil.getMapper())); }