@Test
void shouldThrowExceptionIfEnumDoesNotExist() {

    IssuesSizeTokenMacro macro = new IssuesSizeTokenMacro();
    assertThatIllegalArgumentException().isThrownBy(
            () -> macro.setType("wrong")).withMessageContaining("wrong");
}