src/test/java/seedu/address/logic/commands/EditCommandTest.java
private EditCommand prepareCommand(Index index, EditCommand.EditParcelDescriptor descriptor) {
        EditCommand editCommand = new EditCommand(index, descriptor);
        editCommand.setData(model, new CommandHistory(), new UndoRedoStack());
        return editCommand;
    }
/**
     * Returns an {@code EditCommand} with parameters {@code index} and {@code descriptor}
     */
Returns an  EditCommand with parameters  index and  descriptor
Returns an EditCommand with parameters index and descriptor
private EditCommand prepareCommand(Index index, EditCommand.EditParcelDescriptor descriptor) {
        EditCommand editCommand = new EditCommand(index, descriptor);
        editCommand.setData(model, new CommandHistory(), new UndoRedoStack());
        return editCommand;
    }
private EditCommand prepareCommand ( Index index , EditCommand . EditParcelDescriptor descriptor ) { EditCommand editCommand = new EditCommand ( index , descriptor ) ; editCommand . setData ( model , new CommandHistory ( ) , new UndoRedoStack ( ) ) ; return editCommand ; }
Returns an {@code EditCommand} with parameters {@code index} and {@code descriptor}
Returns an { @code EditCommand } with parameters { @code index } and { @code descriptor }