throws Exception
{
final String messageId = "testSendStatus" ;
AttributedURIType address = new AttributedURIType(coordinatorCompletionParticipantServiceURI);
EndpointReferenceType epr = new EndpointReferenceType(address);
final InstanceIdentifier instanceIdentifier = new InstanceIdentifier("6") ;
InstanceIdentifier.setEndpointInstanceIdentifier(epr, instanceIdentifier);
final AddressingContext addressingContext = AddressingContext.createRequestContext(epr, messageId) ;
final State state = State.STATE_ACTIVE ;
CoordinatorCompletionParticipantClient.getClient().sendStatus(addressingContext, new InstanceIdentifier("sender"), state) ;
final CoordinatorCompletionParticipantDetails details = testCoordinatorCompletionParticipantProcessor.getCoordinatorCompletionParticipantDetails(messageId, 10000) ;
assertNotNull(details.hasStatus()) ;
assertEquals(details.hasStatus().getState(), state); ;