void () { doMultiFileAutoImportTest("Import", fix -> { final List<ImportCandidateHolder> candidates = fix.getCandidates(); final List<String> names = ContainerUtil.map(candidates, c -> c.getPresentableText()); assertOrderedEquals(names, "bar.MyClass", "foo.MyClass"); return true; }); }