CompletionSearchResult opResult = doOperation(modulePath, offset);
assertTrue(opResult.resultCode == resultStatus);
assertTrue(opResult.getReplaceLength() == replaceLength);
DefUnitResultsChecker checker = new DefUnitResultsChecker(opResult.results);
checker.removeIgnoredDefUnits(true, false, false);
checker.removeStdLibObjectDefUnits();
checker.checkResults(expectedResults);
}