void (@NotNull ExpectedHighlighter expected, @NotNull RangeHighlighter actual) { assertEquals(expected.myStartOffset, actual.getStartOffset()); assertEquals(expected.myEndOffset, actual.getEndOffset()); assertEquals(expected.myContentType.getAttributes(), actual.getTextAttributes(null)); assertEquals(expected.myContentType.getAttributesKey(), actual.getTextAttributesKey()); }