@Test
void shouldExpandTokenForNewAndFixedWarnings() {

    IssuesSizeTokenMacro macro = new IssuesSizeTokenMacro();
    Run<?, ?> run = createBuildWithActions(
            createAction("id", "name", 3, 2, 1));
    assertThat(expandMacro(macro, run)).isEqualTo("3");
    macro.setType(StatisticProperties.NEW.name());
    assertThat(expandMacro(macro, run)).isEqualTo("2");
    macro.setType(StatisticProperties.FIXED.name());
    assertThat(expandMacro(macro, run)).isEqualTo("1");
}