void () { configure(); LookupElementPresentation presentation = renderElement(myItems[1]); assertEquals("add", presentation.getItemText()); assertEquals("(int index, String element)", presentation.getTailText()); assertEquals("void", presentation.getTypeText()); presentation = renderElement(myItems[0]); assertEquals("(String e)", presentation.getTailText()); assertEquals("boolean", presentation.getTypeText()); assertFalse(ContainerUtil.exists(presentation.getTailFragments(), LookupElementPresentation.TextFragment::isGrayed)); assertTrue(presentation.isItemTextBold()); }