void (LookupElement element, String lookupString, String typeText) { LookupElementPresentation presentation = new LookupElementPresentation(); element.renderElement(presentation); assertEquals(lookupString, presentation.getItemText()); assertEquals(typeText, presentation.getTypeText()); }