BaseCommands implements CommandMarker { protected void ok() { logger.ok(); }    }
@Test public void testOk() { mockBaseCommands.ok(); assertThat(logger.getOkMessages(), contains("OK")); }
@Test public void testOkWithMessage() { mockBaseCommands.ok("test"); assertThat(logger.getOkMessages(), contains("test")); }