@Test(expectedExceptions = IllegalArgumentException.class,expectedExceptionsMessageRegExp = ".*JSONArray.*")
public void arrayTypeWithWrongJson() throws OpenDataException {

    converter.convertToObject(new ArrayType(2,STRING),"{ \"hello\": \"world\"}");
}