assertNotNull(arjunaContext.getInstanceIdentifier()) ;
assertEquals(instanceIdentifier, arjunaContext.getInstanceIdentifier().getInstanceIdentifier()) ;
}
};
final ParticipantManagerCoordinatorProcessor coordinator = ParticipantManagerCoordinatorProcessor.getCoordinator() ;
coordinator.registerCallback(instanceIdentifier, callback) ;
try
{
ParticipantManagerCoordinatorClient.getClient().sendSoapFault(addressingContext, soapFault, new InstanceIdentifier("sender")) ;
callback.waitUntilTriggered() ;
}
finally
{
coordinator.removeCallback(instanceIdentifier) ;
}
assertTrue(callback.hasTriggered()) ;
assertFalse(callback.hasFailed()) ;
}