}
@Test
public void testSignalProcess() throws Exception {
final Map<String,String> testAssertionMap = new HashMap<String,String>();
Service serviceOne = serviceDomain.registerService(new QName("ServiceOne"), new InOnlyService(), new BaseHandler(){
public void handleMessage(Exchange exchange) throws HandlerException {
Holder h = exchange.getMessage().getContent(Holder.class);
testAssertionMap.put("ServiceOne", h.getValue());
}
});
Service serviceTwo = serviceDomain.registerService(new QName("ServiceTwo"), new InOutService(), new BaseHandler(){
public void handleMessage(Exchange exchange) throws HandlerException {
Holder h = exchange.getMessage().getContent(Holder.class);
testAssertionMap.put("ServiceTwo", h.getValue());
}
});