@Test public void testGetContext() { ObjectMapperProvider provider = new ObjectMapperProvider(); Assert.assertNotNull( provider.getContext( null )); Assert.assertNotNull( provider.getContext( String.class )); }
@Override public ObjectMapper getContext( Class<?> type ) { return this.mapper; }
ObjectMapperProvider implements ContextResolver<ObjectMapper> { @Override public ObjectMapper getContext( Class<?> type ) { return this.mapper; } }
ObjectMapperProvider implements ContextResolver<ObjectMapper> { @Override public ObjectMapper getContext( Class<?> type ) { return this.mapper; }  }
ObjectMapperProvider implements ContextResolver<ObjectMapper> { @Override public ObjectMapper getContext( Class<?> type ) { return this.mapper; }  @Override ObjectMapper getContext( Class<?> type ); }
ObjectMapperProvider implements ContextResolver<ObjectMapper> { @Override public ObjectMapper getContext( Class<?> type ) { return this.mapper; }  @Override ObjectMapper getContext( Class<?> type );  }