void (int lineIndex) { MethodParameterInfoHandler handler = new MethodParameterInfoHandler(); CreateParameterInfoContext context = createContext(); PsiExpressionList list = handler.findElementForParameterInfo(context); Object[] itemsToShow = context.getItemsToShow(); assertEquals(itemsToShow[lineIndex], updateParameterInfo(handler, list, itemsToShow).getHighlightedParameter()); }