);
final AtomicReader aReader = SlowCompositeReaderWrapper.wrap(reader);
final DocsEnum docsEnum = aReader.termDocsEnum(new Term(DEFAULT_TEST_FIELD, "aaa"));
assertTrue(docsEnum instanceof Siren10DocsEnum);
final Siren10DocsNodesAndPositionsEnum e = ((Siren10DocsEnum) docsEnum).getDocsNodesAndPositionsEnum();
assertEquals(-1, e.doc());
assertEquals(0, e.nodeFreqInDoc());
assertTrue(e.nextDocument());
assertEquals(0, e.doc());
assertEquals(2, e.nodeFreqInDoc());
assertTrue(e.nextDocument());
assertEquals(1, e.doc());
assertEquals(1, e.nodeFreqInDoc());
assertTrue(e.nextDocument());
assertEquals(2, e.doc());
assertEquals(1, e.nodeFreqInDoc());
assertFalse(e.nextDocument());
assertEquals(DocsAndNodesIterator.NO_MORE_DOC, e.doc());
}