void () { String description = "description with <>"; String tooltip = XmlStringUtil.wrapInHtml("Different description: " + "<br>" + "<a href ='#navigation//some/path.txt:0'>" + XmlStringUtil.escapeString("hint with <>") + "</a>"); assertTooltipValid(description, tooltip); }