void (String qualifiedName, String index) { final PsiClass classA = (PsiClass)getJavaFacade().findClass(qualifiedName).getNavigationElement(); assertNotNull(classA); final PsiMethod[] methodsA = classA.getMethods(); assertEquals(1, methodsA.length); assertEquals("methodOfClassFromLib" + index, methodsA[0].getName()); }