termIds.add(lee.getValue().getTermId());
count++;
}
assertEquals(NUMBER_UNIQUE_TERMS, count);
assertEquals(NUMBER_UNIQUE_TERMS, termIds.size());
assertEquals(0, StaTools.min(termIds.toArray()));
assertEquals(NUMBER_UNIQUE_TERMS-1, StaTools.max(termIds.toArray()));
assertTrue("Not all terms found in lexicon as stream", checkFreqs.size() == 0);
IndexUtil.close(lexIn);
}