void () { myFixture.configureByFile(getTestName(false) + ".java"); myFixture.complete(CompletionType.SMART); List<LookupElement> items = myFixture.getLookup().getItems(); assertEquals(3, items.size()); assertEquals(0, ((PsiMethod)items.get(0).getObject()).getParameterList().getParametersCount()); myFixture.type("\n"); checkResult(); }