@Test
public void warningShouldPrintMessageWithWarning() {

    // exercise
    underTest.warning("This is %s message", "warning");
    // verify
    verify(messager)
            .printMessage(eq(Diagnostic.Kind.WARNING), eq("This is warning message"));
}