use of com.google.api.ads.common.lib.soap.jaxws.testing.mocks.MockJaxWsCompatibleDescriptor in project googleads-java-lib by googleads.
the class JaxWsHandlerTest method testCreateSoapClient.
@Test
public void testCreateSoapClient() {
SoapServiceDescriptor serviceDescriptor = new MockJaxWsCompatibleDescriptor();
BindingProvider provider = jaxWsHandler.createSoapClient(serviceDescriptor);
assertTrue(provider instanceof CampaignServiceInterfaceImpl);
assertTrue(provider.getBinding().getHandlerChain().get(0) instanceof JaxWsSoapContextHandler);
}
Aggregations