@Test
public void the_logged_executor_executes_the_command() {

    FakeExecutor realExecutor = new FakeExecutor();
    Executor listenedExecutor = logger.getListenedExecutor(realExecutor);
    Runnable command = mock(Runnable.class, "DummyCommand");
    listenedExecutor.execute(command);
    realExecutor.processCommands();
    verify(command).run();
}