final ResultSet rs = ps.executeQuery();
final TypeMapper<?> mapper = TypeMapperFactory.createTypeMapper(ClassWithClassWithListOfMap.class);
int i = 0;
while (rs.next()) {
final ClassWithClassWithListOfMap firstResult = (ClassWithClassWithListOfMap) mapper.mapRow(rs, i++);
final ClassWithListOfMap result = firstResult.getClassWithListOfMap();
final List<Map<String, String>> mapList = result.getMapList();
Assert.assertNotNull("List is Null", mapList);
Assert.assertFalse("List is Empty", CollectionUtils.isEmpty(mapList));
Assert.assertEquals("str", result.getStr());
Assert.assertNotNull(result.getMapList().get(0));
Assert.assertEquals("key", result.getMapList().get(0).keySet().iterator().next());
Assert.assertEquals("val", result.getMapList().get(0).values().iterator().next());
}
}