void () { configure(); LookupElementPresentation presentation = renderElement(myItems[0]); assertEquals("myInt", presentation.getItemText()); assertEquals(" default 42", presentation.getTailText()); assertTrue(presentation.getTailFragments().get(0).isGrayed()); assertNull(presentation.getTypeText()); assertFalse(presentation.isItemTextBold()); presentation = renderElement(myItems[1]); assertEquals("myString", presentation.getItemText()); assertEquals(" default \"unknown\"", presentation.getTailText()); }