@Test public void testCreateSoapClient() { when(soapClientHandler.createSoapClient(adsServiceDescriptor)) .thenReturn(soapClient); Object testSoapClient = abstractAdsServiceClientFactoryHelper.createSoapClient(adsServiceDescriptor); assertSame(soapClient, testSoapClient); }
@VisibleForTesting Object createSoapClient(D adsServiceDescriptor) { return soapClientHandler.createSoapClient(adsServiceDescriptor); }
BaseAdsServiceClientFactoryHelper implements AdsServiceClientFactoryHelper<C, S, D> { @VisibleForTesting Object createSoapClient(D adsServiceDescriptor) { return soapClientHandler.createSoapClient(adsServiceDescriptor); } }
BaseAdsServiceClientFactoryHelper implements AdsServiceClientFactoryHelper<C, S, D> { @VisibleForTesting Object createSoapClient(D adsServiceDescriptor) { return soapClientHandler.createSoapClient(adsServiceDescriptor); } BaseAdsServiceClientFactoryHelper(
      AdsServiceClientFactoryInterface<C, S, D> adsServiceClientFactory,
      AdsServiceDescriptorFactoryInterface<D> adsServiceDescriptorFactory,
      SoapClientHandlerInterface<?> soapClientHandler); }
BaseAdsServiceClientFactoryHelper implements AdsServiceClientFactoryHelper<C, S, D> { @VisibleForTesting Object createSoapClient(D adsServiceDescriptor) { return soapClientHandler.createSoapClient(adsServiceDescriptor); } BaseAdsServiceClientFactoryHelper(
      AdsServiceClientFactoryInterface<C, S, D> adsServiceClientFactory,
      AdsServiceDescriptorFactoryInterface<D> adsServiceDescriptorFactory,
      SoapClientHandlerInterface<?> soapClientHandler); @Override C createAdsServiceClient(D adsServiceDescriptor, S adsSession); @Override D createServiceDescriptor(Class<?> interfaceClass, String version); @Override void checkServiceClientPreconditions(S adsSession, Class<?> interfaceClass); }
BaseAdsServiceClientFactoryHelper implements AdsServiceClientFactoryHelper<C, S, D> { @VisibleForTesting Object createSoapClient(D adsServiceDescriptor) { return soapClientHandler.createSoapClient(adsServiceDescriptor); } BaseAdsServiceClientFactoryHelper(
      AdsServiceClientFactoryInterface<C, S, D> adsServiceClientFactory,
      AdsServiceDescriptorFactoryInterface<D> adsServiceDescriptorFactory,
      SoapClientHandlerInterface<?> soapClientHandler); @Override C createAdsServiceClient(D adsServiceDescriptor, S adsSession); @Override D createServiceDescriptor(Class<?> interfaceClass, String version); @Override void checkServiceClientPreconditions(S adsSession, Class<?> interfaceClass);  }