assertEquals("Row[values=[Elvis Presley, 42, Elvis Presley, The King]]", dataSet.getRow().toString());
assertFalse(dataSet.next());
}
public void testScenarioWithMap() throws Exception {
final SimpleTableDef tableDef = new SimpleTableDef("bar", new String[] { "col1", "col2", "col3" },
new ColumnType[] { ColumnType.VARCHAR, ColumnType.INTEGER, ColumnType.BOOLEAN });
final List<Map<String, ?>> maps = new ArrayList<Map<String, ?>>();
maps.add(createMap("2", 1000, true));
maps.add(createMap("1", 1001, false));
maps.add(createMap("1", 1002, true));