void () { configureLanguageAttributeTest(); myFixture.allowTreeAccessForFile(myFixture.copyFileToProject("MyLanguageAttributeEPBean.kt")); myFixture.configureByFile("languageAttribute.xml"); List<LookupElement> lookupElements = Arrays.stream(myFixture.complete(CompletionType.BASIC)) .sorted(Comparator.comparing(item -> item.getLookupString())) .toList(); assertEquals(2, lookupElements.size()); assertLookupElement(lookupElements.get(0), "MyAnonymousLanguageID", "MyLanguage.MySubLanguage"); assertLookupElement(lookupElements.get(1), "MyLanguageID", "MyLanguage"); }