### Question:
CompositeLogger implements Logger { @Override public void log(String message) { for (Logger logger : loggers) { logger.log(message); } } CompositeLogger(@NonNull List<Logger> loggers); @Override void log(String message);  }### Answer:
@Test public void log() throws Exception { testee.log("message"); InOrder inOrder = inOrder(loggerA, loggerB); inOrder.verify(loggerA).log("message"); inOrder.verify(loggerB).log("message"); }