private void DoChecksFor_RebuildIndex_ManyPages(IPagesStorageProviderV30 prov) { int docCount, wordCount, matchCount; long size; prov.GetIndexStats(out docCount, out wordCount, out matchCount, out size); Assert.AreEqual(PagesContent.Length, docCount, "Wrong document count"); Assert.IsTrue(wordCount > 0, "Wrong word count"); Assert.IsTrue(matchCount > 0, "Wrong match count"); Assert.IsTrue(size > 0, "Wrong size"); SearchResultCollection results = prov.PerformSearch(new SearchParameters("lorem")); Assert.IsTrue(results.Count > 0, "No results returned"); }