@Test
public void build_message_in_yellow_for_level_warning() {

    StringBuilder result = new StringBuilder();
    new MavenColorRenderer(true).renderMessage(event(WARN, "warning message"), result);
    assertThat(result.toString()).isEqualTo(ansi().fgBright(YELLOW).bold().a("warning message").reset().toString());
}