### Question:
ApacheHttpClientFactory implements HttpClientFactory { @Override public HttpClient getHttpClient(String adapterId, String qwacAlias, String[] supportedCipherSuites) { return cache.computeIfAbsent(adapterId, key -> createHttpClient(qwacAlias, supportedCipherSuites)); } ApacheHttpClientFactory(HttpClientBuilder httpClientBuilder, Pkcs12KeyStore keyStore); @Override HttpClient getHttpClient(String adapterId, String qwacAlias, String[] supportedCipherSuites);  }### Answer:
@Test void getHttpClientCachesClientsByAdapterId() { HttpClient httpClient = factory.getHttpClient("test-adapter"); HttpClient httpClient2 = factory.getHttpClient("test-adapter"); assertThat(httpClient).isSameAs(httpClient2); HttpClient httpClient3 = factory.getHttpClient("another-test-adapter"); assertThat(httpClient).isNotSameAs(httpClient3); }