@Test public void testDirectEmailSend() { DirectEmailSendRequest req = new DirectEmailSendRequest(); DirectEmailSendResponse resp = new DirectEmailSendResponse(); resp.setReturn(TEST_REQUEST_ID); PepService service = new PepService(wsdlURL, serviceName); PepPortType port = service.getXDSHTTPEndpoint(); when(pep.directEmailSend(isA(DirectEmailSendRequest.class))) .thenReturn(resp); DirectEmailSendResponse response = port.directEmailSend(req); assertEquals(resp.getReturn(), response.getReturn()); }
@Override public DirectEmailSendResponse directEmailSend( DirectEmailSendRequest parameters) { return pep.directEmailSend(parameters); }
PepPortTypeImpl implements PepPortType { @Override public DirectEmailSendResponse directEmailSend( DirectEmailSendRequest parameters) { return pep.directEmailSend(parameters); } }
PepPortTypeImpl implements PepPortType { @Override public DirectEmailSendResponse directEmailSend( DirectEmailSendRequest parameters) { return pep.directEmailSend(parameters); } PepPortTypeImpl(PolicyEnforcementPoint pep); }
PepPortTypeImpl implements PepPortType { @Override public DirectEmailSendResponse directEmailSend( DirectEmailSendRequest parameters) { return pep.directEmailSend(parameters); } PepPortTypeImpl(PolicyEnforcementPoint pep); @Override DirectEmailSendResponse directEmailSend(
			DirectEmailSendRequest parameters); @Override AdhocQueryResponse registryStoredQuery(AdhocQueryRequest input); @Override RetrieveDocumentSetResponse retrieveDocumentSet(
			RetrieveDocumentSetRequest input); }
PepPortTypeImpl implements PepPortType { @Override public DirectEmailSendResponse directEmailSend( DirectEmailSendRequest parameters) { return pep.directEmailSend(parameters); } PepPortTypeImpl(PolicyEnforcementPoint pep); @Override DirectEmailSendResponse directEmailSend(
			DirectEmailSendRequest parameters); @Override AdhocQueryResponse registryStoredQuery(AdhocQueryRequest input); @Override RetrieveDocumentSetResponse retrieveDocumentSet(
			RetrieveDocumentSetRequest input);  }