DocumentIterator indexIterator = query.accept( documentIteratorBuilderVisitor );
indexIterator.nextDocument();
termVisitor.prepare();
indexIterator.accept( termVisitor );
setupVisitor.prepare();
indexIterator.accept( setupVisitor );
// assertEquals( 3, indexIterator.frequency() );