/** We use the provided test workflow model form the AbstractWorkflowServiceTest */ @Before public void setup() throws PluginException { super.setup(); splitAndJoinPlugin = new SplitAndJoinPlugin(); try { splitAndJoinPlugin.init(workflowService); } catch (PluginException e) { e.printStackTrace(); } // prepare test workitem documentContext = new ItemCollection(); logger.info("[TestAccessPlugin] setup test data..."); Vector<String> list = new Vector<String>(); list.add("manfred"); list.add("anna"); documentContext.replaceItemValue("namTeam", list); documentContext.replaceItemValue("namCreator", "ronny"); documentContext.replaceItemValue(WorkflowKernel.MODELVERSION, "1.0.0"); documentContext.replaceItemValue(WorkflowKernel.PROCESSID, 100); documentContext.replaceItemValue(WorkflowKernel.UNIQUEID, WorkflowKernel.generateUniqueID()); entityService.save(documentContext); }