void (@NotNull List<FilePath> filePaths, @NotNull Comparator<FilePath> comparator) { PlatformTestUtil.assertComparisonContractNotViolated(filePaths, (path1, path2) -> compare(path1, path2, comparator), (path1, path2) -> equals(path1, path2, comparator)); }