@Test public void testExecute() throws Exception { reverseCommand.execute(context); verify(command).undo(eq(context)); }
@Override public CommandResult<V> execute(T context) { return command.undo(context); }
ReverseCommand implements Command<T, V> { @Override public CommandResult<V> execute(T context) { return command.undo(context); } }
ReverseCommand implements Command<T, V> { @Override public CommandResult<V> execute(T context) { return command.undo(context); } ReverseCommand(Command<T, V> command); }
ReverseCommand implements Command<T, V> { @Override public CommandResult<V> execute(T context) { return command.undo(context); } ReverseCommand(Command<T, V> command); @Override CommandResult<V> allow(T context); @Override CommandResult<V> execute(T context); @Override CommandResult<V> undo(T context); }
ReverseCommand implements Command<T, V> { @Override public CommandResult<V> execute(T context) { return command.undo(context); } ReverseCommand(Command<T, V> command); @Override CommandResult<V> allow(T context); @Override CommandResult<V> execute(T context); @Override CommandResult<V> undo(T context);  }