@Override
 public void redo() throws Exception {
   command.execute();
   command.undo();
   command.redo();
   verify(container, times(2)).addCard(card);
 }
 @Override
 public void undo() throws Exception {
   assertThat(command.canUndo(), is(false));
   command.execute();
   assertThat(command.canUndo(), is(true));
   command.undo();
   verify(container).removeCard(card);
 }