void (String message, PsiElement customJavadocElement, PsiElement expectedJavadocCarrier) { final PsiElement javadocCarrier = myProvider.getCustomDocumentationElement(myEditor, myFile, customJavadocElement, 0); assertThat(javadocCarrier).withFailMessage(message) .isEqualTo(expectedJavadocCarrier); }