throws Exception
{
final String messageId = "testSendCancel" ;
AttributedURIType address = new AttributedURIType(coordinatorCompletionParticipantServiceURI);
EndpointReferenceType epr = new EndpointReferenceType(address);
final InstanceIdentifier instanceIdentifier = new InstanceIdentifier("2") ;
InstanceIdentifier.setEndpointInstanceIdentifier(epr, instanceIdentifier);
final AddressingContext addressingContext = AddressingContext.createRequestContext(epr, messageId) ;
CoordinatorCompletionParticipantClient.getClient().sendCancel(addressingContext, new InstanceIdentifier("sender")) ;
final CoordinatorCompletionParticipantDetails details = testCoordinatorCompletionParticipantProcessor.getCoordinatorCompletionParticipantDetails(messageId, 10000) ;
assertTrue(details.hasCancel()) ;