void () { final List<String> variants = myFixture.getCompletionVariants("ExperimentalFeatureIdCompletion.java", "experimentalFeatureId.xml"); assertContainsElements(variants, "my.feature.id", "my.internal.feature.id"); final LookupElementPresentation feature = getLookupElementPresentation("my.feature.id"); assertFalse(feature.isItemTextBold()); assertEquals(" Feature ID Description", feature.getTailText()); assertEquals("100%", feature.getTypeText()); assertEquals(AllIcons.Nodes.PluginRestart, feature.getIcon()); final LookupElementPresentation internal = getLookupElementPresentation("my.internal.feature.id"); assertTrue(internal.isItemTextBold()); assertEquals(" No Description", internal.getTailText()); assertEquals("", internal.getTypeText()); assertEquals(AllIcons.Nodes.Plugin, internal.getIcon()); }