testAssertionMap.put("ServiceTwo", h.getValue());
}
});
serviceDomain.registerServiceReference(serviceOne.getName(), serviceOne.getInterface(), serviceOne.getProviderHandler());
serviceDomain.registerServiceReference(serviceTwo.getName(), serviceTwo.getInterface(), serviceTwo.getProviderHandler());
BPMComponentImplementationModel bci_model = (BPMComponentImplementationModel)new BPMSwitchYardScanner().scan(SignalProcess.class).getImplementation();
// setting the component name to null so that the service reference doesn't use the component-qualified name
bci_model.getComponent().setName(null);
QName serviceName = new QName("SignalProcess");
BPMExchangeHandler handler = new BPMExchangeHandler(bci_model, serviceDomain, serviceName);
Service signalService = serviceDomain.registerService(serviceName, JavaService.fromClass(SignalProcess.class), handler);