void () { final List<String> variants = myFixture.getCompletionVariants("AdvancedSettingsIdCompletion.java", "advancedSettingsId.xml"); assertContainsElements(variants, "advancedSettingId", "advancedSettingId2"); final LookupElementPresentation setting = getLookupElementPresentation("advancedSettingId"); assertEquals("defaultValue", setting.getTypeText()); assertEquals(AllIcons.General.Settings, setting.getIcon()); }