void (final String keyText, String quickNavigateInfo, String doc) { myFixture.configureByText("my.theme.json", "{" + "\"ui\": {" + " \"*\": {" + " \"" + keyText + "\": \"#000080\"" + " }" + " }" + "}"); final PsiElement docElement = DocumentationManager.getInstance(getProject()).findTargetElement(myFixture.getEditor(), myFixture.getFile()); DocumentationProvider provider = DocumentationManager.getProviderFromElement(docElement); assertEquals(quickNavigateInfo, provider.getQuickNavigateInfo(docElement, getOriginalElement())); assertEquals(doc, provider.generateDoc(docElement, getOriginalElement())); }