diff --git a/imixs-workflow-core/src/test/java/org/imixs/workflow/bpmn/TestBPMNParserDataObject.java b/imixs-workflow-core/src/test/java/org/imixs/workflow/bpmn/TestBPMNParserDataObject.java index 4fdf3d0ca..4f9a9d6da 100644 --- a/imixs-workflow-core/src/test/java/org/imixs/workflow/bpmn/TestBPMNParserDataObject.java +++ b/imixs-workflow-core/src/test/java/org/imixs/workflow/bpmn/TestBPMNParserDataObject.java @@ -36,7 +36,7 @@ public void teardown() { } - @SuppressWarnings("unused") + @SuppressWarnings({ "unused", "unchecked" }) @Test public void testSimple() throws ParseException, ParserConfigurationException, SAXException, IOException, ModelException { @@ -78,11 +78,11 @@ public void testSimple() throws ParseException, Assert.assertNotNull(dataObjects); Assert.assertEquals(1,dataObjects.size()); - String[] data=(String[]) dataObjects.get(0); + List data=(List) dataObjects.get(0); Assert.assertNotNull(data); - Assert.assertEquals(2,data.length); - Assert.assertEquals("Invoice Template",data[0]); - Assert.assertEquals("Some data ...",data[1]); + Assert.assertEquals(2,data.size()); + Assert.assertEquals("Invoice Template",data.get(0)); + Assert.assertEquals("Some data ...",data.get(1)); }