@Test
void issue22744() {

    Report tasks = new TaskScannerBuilder()
            .setHighTasks("FIXME")
            .setNormalTasks("TODO")
            .setLowTasks("")
            .setCaseMode(CaseMode.CASE_SENSITIVE)
            .setMatcherMode(MatcherMode.STRING_MATCH)
            .build()
            .scanTasks(read("issue22744.java", "windows-1251"), ISSUE_BUILDER);
    assertThat(tasks).hasSize(2);
    assertThat(tasks.get(0)).hasSeverity(Severity.WARNING_HIGH)
            .hasType("FIXME")
            .hasLineStart(4)
            .hasMessage("\u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 Jenkins");
    assertThat(tasks.get(1)).hasSeverity(Severity.WARNING_NORMAL)
            .hasType("TODO")
            .hasLineStart(5)
            .hasMessage(
                    "\u043f\u0440\u0438\u043c\u0435\u0440 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f \u043d\u0430 \u0440\u0443\u0441\u0441\u043a\u043e\u043c");
}