}
@Test
public void testAccessAttachment() throws Exception {
final Holder holder = new Holder();
RulesComponentImplementationModel rci_model = (RulesComponentImplementationModel)new RulesSwitchYardScanner().scan(AccessAttachment.class).getImplementation();
QName serviceName = new QName("AccessAttachment");
RulesExchangeHandler handler = new RulesExchangeHandler(rci_model, serviceDomain, serviceName);
Service service = serviceDomain.registerService(serviceName, JavaService.fromClass(AccessAttachment.class), handler);
serviceDomain.registerServiceReference(service.getName(), service.getInterface(), service.getProviderHandler());
handler.start();