@Test
public void scorerShouldScoreNonAdjacentDocsNotScoredByOperandScorer() throws IOException {
IndexReader reader = mock(IndexReader.class);
stub(reader.isDeleted(anyInt())).toReturn(false);
stub(reader.maxDoc()).toReturn(10);
Scorer operandScorer = new MockScorer(2, 4, 8);
Scorer notScorer = new NotQuery.NotScorer(operandScorer, reader);
assertScores(notScorer, 0, 1, 3, 5, 6, 7, 9);
}