private void AssertSaneScoring(PhraseQuery pq, IndexSearcher searcher) { searcher.Search(pq, new CollectorAnonymousInnerClassHelper(this)); QueryUtils.Check(Random(), pq, searcher, Similarity); }