public void testAllThere() throws Exception {
   for (int i = 0; i < FOOS.length; i++) {
     Query q = createQuery(FOOS[i]);
     ObjectSet objectSet = q.execute();
     Assert.areEqual(1, objectSet.size());
     FieldIndexItem fii = (FieldIndexItem) objectSet.next();
     Assert.areEqual(FOOS[i], fii.foo);
   }
 }
 public void testAccessingBTree() throws Exception {
   BTree bTree = storedField().getIndex(trans());
   Assert.isNotNull(bTree);
   expectKeysSearch(bTree, FOOS);
 }