MockHandler replyHandler = new MockHandler();
ServiceReference service = _domain.createInOutService(
new QName("OutPhase"), new MockHandler().forwardInToOut());
Exchange exchange = service.createExchange(replyHandler);
exchange.send(exchange.createMessage());
replyHandler.waitForOKMessage();
Assert.assertEquals(ExchangePhase.OUT, exchange.getPhase());
}
@Test
public void testPhaseIsOutAfterFaultMessage() {