CompositeTypeAndJson cdj = new CompositeTypeAndJson(STRING, "name", "roland", INTEGER, "date", 1968);
TabularData data = getMapTabularData(cdj.getType(),cdj.getCompositeData(),TEST_VALUE);
JSONObject result = (JSONObject) extract(true,data);
assertEquals(result.size(), 2);
assertTrue(result.containsKey("indexNames"));
assertTrue(result.containsKey("values"));
List indexNames = (List) result.get("indexNames");
assertEquals(indexNames.size(), 1);
assertTrue(indexNames.contains("key"));
List values = (List) result.get("values");