*/
private void checkDetails(ParticipantCompletionCoordinatorDetails details, boolean replyTo, String messageId, InstanceIdentifier instanceIdentifier)
{
AddressingContext inAddressingContext = details.getAddressingContext();
ArjunaContext inArjunaContext = details.getArjunaContext();
assertEquals(inAddressingContext.getTo().getValue(), participantCompletionCoordinatorServiceURI);
assertEquals(inAddressingContext.getFrom().getAddress().getValue(), participantCompletionParticipantServiceURI);
if (replyTo) {
assertEquals(inAddressingContext.getReplyTo().getAddress().getValue(), participantCompletionParticipantServiceURI);
} else {
assertNull(inAddressingContext.getReplyTo());
}
assertEquals(inAddressingContext.getMessageID().getValue(), messageId);
if (instanceIdentifier == null) {
assertNull(inArjunaContext.getInstanceIdentifier());
} else {
assertNotNull(inArjunaContext.getInstanceIdentifier()) ;
assertEquals(instanceIdentifier.getInstanceIdentifier(), inArjunaContext.getInstanceIdentifier().getInstanceIdentifier()) ;
}
}