void () { myFixture.configureByFile(getTestName(false) + ".java"); MethodParameterInfoHandler handler = new MethodParameterInfoHandler(); CreateParameterInfoContext context = new MockCreateParameterInfoContext(getEditor(), getFile()); PsiExpressionList list = handler.findElementForParameterInfo(context); assertNotNull(list); Object[] itemsToShow = context.getItemsToShow(); assertNotNull(itemsToShow); assertEquals(2, itemsToShow.length); ParameterInfoUIContextEx parameterContext = ParameterInfoComponent.createContext(itemsToShow, getEditor(), handler, 1); parameterContext.setUIComponentEnabled(true); String presentation = MethodParameterInfoHandler.updateMethodPresentationFromCandidate(parameterContext, itemsToShow[0]); assertEquals("<html>Class&lt;T&gt; type, <b>boolean tags</b></html>", removeCurrentParameterColor(presentation)); }