void () { List<String> variants = myFixture.getCompletionVariants("ExtensionPointReferenceCompletion.java", "extensionPointReference.xml"); assertContainsElements(variants, "plugin.id.ep.name", "ep.qualified.name"); final LookupElementPresentation epPresentation = getLookupElementPresentation("plugin.id.ep.name"); assertTrue(epPresentation.isItemTextBold()); assertEquals(" (extensionPointReference.xml)", epPresentation.getTailText()); assertEquals(myFixture.getModule().getName(), epPresentation.getTypeText()); assertEquals(ModuleType.get(myFixture.getModule()).getIcon(), epPresentation.getTypeIcon()); assertTrue(epPresentation.isTypeIconRightAligned()); }