@Test
public void selectCF() throws Exception {

  TableAdapter table = new InMemoryTable();
  List<CKeyValue> values = new ArrayList<CKeyValue>();
  values.add(new CKeyValue(new byte[] { 1 }));
  values.add(new CKeyValue(new byte[] { 2 }, new byte[] { 3 },
      new byte[] { 4 }));
  values.add(new CKeyValue(new byte[] { 3 }, new byte[] { 3 },
      new byte[] { 5 }, 0, new byte[] { 6 }));
  table.put(new Put(values));
  ResultFilter families = new ResultFilter(table, new CColumn(
      new byte[] { 3 }));
  assertCount(families.getResultIterator(), 2);
  assertSeek(families.getResultIterator(), new byte[] { 2 }, true, 1,
      new byte[0], new byte[] { 6 });
  families = new ResultFilter(table, new CColumn(new byte[] { 2 }));
  assertSeek(families.getResultIterator(), new byte[] { 2 }, false, 0);
}