bw.addMutation(m);
bw.flush();
Scanner scanner = conn.createScanner("table", new Authorizations());
ClientSideIteratorScanner csis = new ClientSideIteratorScanner(scanner);
IteratorSetting si = new IteratorSetting(10, "localvers", VersioningIterator.class);
si.addOption("maxVersions", "2");
csis.addScanIterator(si);
checkResults(csis, resultSet1, PartialKey.ROW_COLFAM_COLQUAL_COLVIS_TIME);
checkResults(scanner, resultSet2, PartialKey.ROW_COLFAM_COLQUAL_COLVIS_TIME);
csis.fetchColumnFamily(new Text("colf"));
checkResults(csis, resultSet1, PartialKey.ROW_COLFAM_COLQUAL_COLVIS_TIME);
csis.clearColumns();
csis.fetchColumnFamily(new Text("none"));
assertFalse(csis.iterator().hasNext());
}