void () { IdeaTestUtil.withLevel(myFixture.getModule(), LanguageLevel.JDK_21, () -> { myFixture.configureByFile(getTestName(false) + ".java"); myFixture.completeBasic(); assertPreferredItems(0, "case null", "case", "case null, default", "case A", "case B"); }); }