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(3, itemsToShow.length); ParameterInfoComponent.createContext(itemsToShow, getEditor(), handler, -1); MockUpdateParameterInfoContext updateParameterInfoContext = updateParameterInfo(handler, list, itemsToShow); assertTrue(updateParameterInfoContext.isUIComponentEnabled(0) || updateParameterInfoContext.isUIComponentEnabled(1) || updateParameterInfoContext.isUIComponentEnabled(2)); }