Service service = serviceDomain.registerService(serviceName, JavaService.fromClass(AccessAttachment.class), handler);
serviceDomain.registerServiceReference(service.getName(), service.getInterface(), service.getProviderHandler());
handler.start();
DataSource attachment = new TestDataSource("someAttach", "text/plain", "someAttachData");
new Invoker(serviceDomain, serviceName).operation("process").attachment(attachment.getName(), attachment).sendInOnly(holder);
handler.stop();
Assert.assertEquals("someAttachData", holder.getValue());
}
@Rules(manifest=@Manifest(resources=@Resource(location=DECISION_TABLE_XLS, type="DTABLE")))
public interface DecisionTable {