@Test
void shouldUseDefaults() {

    Report tasks = new TaskScannerBuilder().setHighTasks("FIXME")
            .setNormalTasks("TODO")
            .setLowTasks("@deprecated")
            .setCaseMode(CaseMode.CASE_SENSITIVE)
            .setMatcherMode(MatcherMode.STRING_MATCH)
            .build()
            .scanTasks(read(FILE_WITH_TASKS), ISSUE_BUILDER);
    assertThat(tasks).hasSize(2);
    assertThatReportHasSeverities(tasks, 0, 1, 1, 0);
    assertThat(tasks.get(0)).hasMessage(PRIORITY_NORMAL_MESSAGE);
    assertThat(tasks.get(1)).hasMessage(PRIORITY_HIGH_MESSAGE);
}