DummyMessagePrinter implements MessagePrinter { @Override public void print(String format, Object... args) { }  static MessagePrinter getInstance(); @Override void print(String format, Object... args); @Override void println(); @Override void println(String format, Object... args); @Override void flush();  }
@Test public void testPrint() { final MessagePrinter instance = DummyMessagePrinter.getInstance(); instance.print(randomUUID().toString()); }