@Test
public void arrayTypeWithCompositeElementType() throws OpenDataException {

    CompositeTypeAndJson taj = new CompositeTypeAndJson(
            STRING,"verein","FCN"
    );
    CompositeData[] result =
            (CompositeData[]) converter.convertToObject(new ArrayType(2,taj.getType()),"[" + taj.getJsonAsString() + "]");
    assertEquals(result[0].get("verein"), "FCN");
    assertEquals(result.length,1);
}