{"http://a/3", "http://a/age", "2323"}});
RecordIterator it = source.getRecords();
assertTrue("data source contains no records", it.hasNext());
Record r = it.next();
assertEquals("wrong ID", "http://a/1", r.getValue("ID"));
assertEquals("wrong NAME", "1", r.getValue("NAME"));
assertEquals("wrong AGE", "32", r.getValue("AGE"));
assertTrue("data source contains only one record", it.hasNext());
r = it.next();
assertEquals("wrong ID", "http://a/2", r.getValue("ID"));
assertEquals("wrong NAME", "2", r.getValue("NAME"));
assertEquals("wrong AGE", "23", r.getValue("AGE"));
assertTrue("data source contains only two records", it.hasNext());
r = it.next();
assertEquals("wrong ID", "http://a/3", r.getValue("ID"));
assertEquals("wrong NAME", "3", r.getValue("NAME"));
assertEquals("wrong AGE", "2323", r.getValue("AGE"));
assertFalse("data source contains more than three records", it.hasNext());
assertEquals("wrong number of pages", pages, source.getPages());
}