{"http://a/3", "Fluffy", "25151"}});
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", "Peter", r.getValue("NAME"));
assertEquals("wrong AGE", "15", 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", "George", r.getValue("NAME"));
assertEquals("wrong AGE", "151", 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", "Fluffy", r.getValue("NAME"));
assertEquals("wrong AGE", "25151", r.getValue("AGE"));
assertFalse("data source contains more than three records", it.hasNext());
assertEquals("wrong number of pages", pages, source.getPages());
}