@Test public void testCreateSoapCall() throws SecurityException, NoSuchMethodException { Method indentityCallMethod = MockSoapClient.class.getMethod("identityCall", Object[].class); Object[] args = new String[] {"arg1", "arg2"}; SoapCall<Object> expectedSoapCall = new SoapCall<Object>(indentityCallMethod, soapClient, args); SoapCall<Object> soapCall = soapServiceClient.createSoapCall(indentityCallMethod, args); assertEquals(expectedSoapCall, soapCall); }
protected SoapCall<T> createSoapCall(Method soapClientMethod, Object[] args) { return new SoapCall<T>(soapClientMethod, soapClient, args); }
SoapServiceClient implements InvocationHandler { protected SoapCall<T> createSoapCall(Method soapClientMethod, Object[] args) { return new SoapCall<T>(soapClientMethod, soapClient, args); } }
SoapServiceClient implements InvocationHandler { protected SoapCall<T> createSoapCall(Method soapClientMethod, Object[] args) { return new SoapCall<T>(soapClientMethod, soapClient, args); } protected  SoapServiceClient(SoapClientHandlerInterface<T> soapClientHandler,
      T soapClient); }
SoapServiceClient implements InvocationHandler { protected SoapCall<T> createSoapCall(Method soapClientMethod, Object[] args) { return new SoapCall<T>(soapClientMethod, soapClient, args); } protected  SoapServiceClient(SoapClientHandlerInterface<T> soapClientHandler,
      T soapClient); @Override Object invoke(Object proxy, final Method method, final Object[] args); void setEndpointAddress(String endpointAddress); Object getSoapClient(); }
SoapServiceClient implements InvocationHandler { protected SoapCall<T> createSoapCall(Method soapClientMethod, Object[] args) { return new SoapCall<T>(soapClientMethod, soapClient, args); } protected  SoapServiceClient(SoapClientHandlerInterface<T> soapClientHandler,
      T soapClient); @Override Object invoke(Object proxy, final Method method, final Object[] args); void setEndpointAddress(String endpointAddress); Object getSoapClient();  }