src/test/java/seedu/address/logic/commands/CommandTestUtil.java
public static void assertCommandSuccess(Command command, Model actualModel, CommandResult expectedCommandResult,
                                            Model expectedModel) {
        try {
            CommandResult result = command.execute(actualModel);
            assertEquals(expectedCommandResult, result);
            assertEquals(expectedModel, actualModel);
        } catch (CommandException | ParseException ce) {
            throw new AssertionError("Execution of command should not fail.", ce);
        }
    }
/**
     * Executes the given {@code command}, confirms that <br>
     * - the returned {@link CommandResult} matches {@code expectedCommandResult} <br>
     * - the {@code actualModel} matches {@code expectedModel}
     */
Executes the given  command, confirms that 
- the returned  CommandResult matches  expectedCommandResult 
- the  actualModel matches  expectedModel
Executes the given command confirms that - the returned CommandResult matches expectedCommandResult - the actualModel matches expectedModel
public static void assertCommandSuccess(Command command, Model actualModel, CommandResult expectedCommandResult,
                                            Model expectedModel) {
        try {
            CommandResult result = command.execute(actualModel);
            assertEquals(expectedCommandResult, result);
            assertEquals(expectedModel, actualModel);
        } catch (CommandException | ParseException ce) {
            throw new AssertionError("Execution of command should not fail.", ce);
        }
    }
public static void assertCommandSuccess ( Command command , Model actualModel , CommandResult expectedCommandResult , Model expectedModel ) { try { CommandResult result = command . execute ( actualModel ) ; assertEquals ( expectedCommandResult , result ) ; assertEquals ( expectedModel , actualModel ) ; } catch ( CommandException | ParseException ce ) { throw new AssertionError ( "Execution of command should not fail." , ce ) ; } }
Executes the given {@code command}, confirms that <br>
 - the returned {@link CommandResult} matches {@code expectedCommandResult} <br>
 - the {@code actualModel} matches {@code expectedModel}
Executes the given { @code command } confirms that <br > - the returned { @link CommandResult } matches { @code expectedCommandResult } <br > - the { @code actualModel } matches { @code expectedModel }