void (@NotNull String description, @NotNull String tooltip) { HighlightInfo newInfo = HighlightInfo.newHighlightInfo(HighlightInfoType.ERROR) .range(1, 2) .description(description).escapedToolTip(tooltip).createUnconditionally(); assertEquals(tooltip, newInfo.getToolTip()); }