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