@Test
public void testGetAll() {

  // Get all the data back
  SeekingCurrentIterator indexIterator = termIndex.handleGet(new byte[0],
      new byte[0]);
  // Test the returned data
  int count = 0;
  while (indexIterator.hasNext()) {
    Result result = indexIterator.next();
    count++;
    assertTrue(Bytes.compareTo(result.getRecordId(), rowIdBytes) == 0);
  }
  // Test if we have the expected number of results
  assertTrue(count == 3);
}