@Test public void shouldCreateAClient() { HttpClientConnectionManager httpConnectionManager = mock(HttpClientConnectionManager.class); SDCClientConfigImpl sdcClientConfigImpl = new SDCClientConfigImpl(httpConnectionManager); Client client = sdcClientConfigImpl.getClient(); assertNotNull(client); }
@Override public Client getClient() { Client client = ClientBuilder.newBuilder().sslContext(getStx()).hostnameVerifier(getHostnameVerifier()).build(); client.register(clientConfig); return client; }
SDCClientConfigImpl extends SdcClientConfigImp implements SdcClientConfig { @Override public Client getClient() { Client client = ClientBuilder.newBuilder().sslContext(getStx()).hostnameVerifier(getHostnameVerifier()).build(); client.register(clientConfig); return client; } }
SDCClientConfigImpl extends SdcClientConfigImp implements SdcClientConfig { @Override public Client getClient() { Client client = ClientBuilder.newBuilder().sslContext(getStx()).hostnameVerifier(getHostnameVerifier()).build(); client.register(clientConfig); return client; } SDCClientConfigImpl(HttpClientConnectionManager httpConnectionManager); }
SDCClientConfigImpl extends SdcClientConfigImp implements SdcClientConfig { @Override public Client getClient() { Client client = ClientBuilder.newBuilder().sslContext(getStx()).hostnameVerifier(getHostnameVerifier()).build(); client.register(clientConfig); return client; } SDCClientConfigImpl(HttpClientConnectionManager httpConnectionManager); @Override Client getClient(); HttpClientConnectionManager getHttpConnectionManager(); void setHttpConnectionManager(HttpClientConnectionManager httpConnectionManager); }
SDCClientConfigImpl extends SdcClientConfigImp implements SdcClientConfig { @Override public Client getClient() { Client client = ClientBuilder.newBuilder().sslContext(getStx()).hostnameVerifier(getHostnameVerifier()).build(); client.register(clientConfig); return client; } SDCClientConfigImpl(HttpClientConnectionManager httpConnectionManager); @Override Client getClient(); HttpClientConnectionManager getHttpConnectionManager(); void setHttpConnectionManager(HttpClientConnectionManager httpConnectionManager);  }