public void TestFileIndexCase(FileIndex fileIndex, string substr, string[] expectedResults) { List<FileMatch> results; results = fileIndex.FindSubstringMatches(substr); CheckFileIndexResults(results, expectedResults); }