void () { createClass("public class Time { Time() {} Time(long time) {} }"); String path = "/docAfterNew"; configureByFile(path + "/before1.java"); assertTrue(myItems != null && myItems.length >= 1); String doc = new JavaDocumentationProvider().generateDoc( (PsiClass)myItems[0].getObject(), myFixture.getFile().findElementAt(myFixture.getEditor().getCaretModel().getOffset()) ); assertEquals("<html>Candidates for new <b>Time</b>() are:<br>&nbsp;&nbsp;<a href=\"psi_element://Time#Time()\">Time()</a>" + "<br>&nbsp;&nbsp;<a href=\"psi_element://Time#Time(long)\">Time(long time)</a><br></html>", doc); }