void (String className) { PsiClass aClass = getJavaFacade().findClass(className); assertNotNull("Cannot find class: " + className, aClass); VirtualFile clsFile = aClass.getContainingFile().getVirtualFile(); doTest(clsFile, getTestName(false) + ".txt"); }