AntennaContext { public ObjectMapper getObjectMapper() { return ServiceFactory.getObjectMapper(); } private  AntennaContext(ContextBuilder builder); Configuration getConfiguration(); ToolConfiguration getToolConfiguration(); IProject getProject(); IProcessingReporter getProcessingReporter(); Optional<T> getGeneric(Class<? extends T> clazz); void setDebug(boolean debug); boolean getDebug(); HttpClient getHttpClient(); ObjectMapper getObjectMapper();  }
@Test public void testObjectMapper() { AntennaContext context = createContext(new AntennaContext.ContextBuilder()); ObjectMapper mapper = context.getObjectMapper(); assertThat(mapper).isSameAs(ServiceFactory.getObjectMapper()); }