void () { PsiClass psiClass = getTestClass(); PsiField field = psiClass.getFields()[0]; String docInfo = new JavaDocumentationProvider().generateDoc(field, field); assertNotNull(docInfo); assertFileTextEquals(docInfo); docInfo = new JavaDocumentationProvider().getQuickNavigateInfo(field, field); assertNotNull(docInfo); String htmlText = loadFile(new File(getTestDataPath() + TEST_DATA_FOLDER + getTestName(true) + "_quick.html")); assertEquals(htmlText, replaceEnvironmentDependentContent(UIUtil.getHtmlBody(docInfo))); }