void () { createProjectStructure(getTestDataPath() + TEST_DATA_FOLDER); PsiPackage psiPackage = myJavaFacade.findPackage(getTestName(true)); assertNotNull(psiPackage); String info = JavaDocumentationProvider.generateExternalJavadoc(psiPackage, (List<String>)null); assertFileTextEquals(info, getTestName(true) + "/packageInfo.html"); }