Collection<Integer> columnIndexes = new ArrayList<Integer>();
columnIndexes.add(3);
columnIndexes.add(6);
columnIndexes.add(9);
columnIndexes.add(12);
MultiColumnShowCommand command = new MultiColumnShowCommand(
columnIndexes);
MultiColumnShowCommand copiedCommand = command.cloneCommand();
Collection<Integer> commandIndexes = command.getColumnIndexes();
Collection<Integer> cloneIndexes = copiedCommand.getColumnIndexes();
assertTrue("The commands reference the same instance",
command != copiedCommand);
assertTrue("The command collections reference the same instance",
commandIndexes != cloneIndexes);