@Test
public void testListJsonObjectToListMap() throws Exception {

    Method method = PojoUtilsTest.class.getMethod("setListMap", List.class);
    assertNotNull(method);
    JSONObject jsonObject = new JSONObject();
    jsonObject.put("1", "test");
    List<JSONObject> list = new ArrayList<>(1);
    list.add(jsonObject);
    @SuppressWarnings("unchecked")
    List<Map<Integer, Object>> result = (List<Map<Integer, Object>>)PojoUtils.realize(
            list,
            method.getParameterTypes()[0],
            method.getGenericParameterTypes()[0]);
    method.invoke(new PojoUtilsTest(), result);
    assertEquals("test", result.get(0).get(1));
}