public void testSendPrepared()
throws Exception
{
final String messageId = "testSendPrepared" ;
final InstanceIdentifier instanceIdentifier = new InstanceIdentifier("1") ;
W3CEndpointReference coordinatorEndpoint = TestUtil.getCoordinatorEndpoint(instanceIdentifier.getInstanceIdentifier());
final AddressingProperties addressingProperties = AddressingHelper.createRequestContext(TestUtil.coordinatorServiceURI, messageId) ;
CoordinatorClient.getClient().sendPrepared(coordinatorEndpoint, addressingProperties, new InstanceIdentifier("sender"));
CoordinatorDetails details = testCoordinatorProcessor.getCoordinatorDetails(messageId, 10000);
assertTrue(details.hasPrepared());
checkDetails(details, true, true, messageId, instanceIdentifier);