void () { doActionTest(); assertStringItems("String.class"); LookupElement item = myFixture.getLookupElements()[0]; LookupElementPresentation p = renderElement(item); assertEquals("String.class", p.getItemText()); assertEquals(" (java.lang)", p.getTailText()); assertNull(p.getTypeText()); assertInstanceOf(item.getPsiElement(), PsiClass.class); }