unused/DeleteTagCommandSystemTest.java
private void assertCommandSuccess(Tag toDelete) {
        Model expectedModel = getModel();
        Tag deletedTag = removeTag(expectedModel, toDelete);
        String expectedResultMessage = String.format(MESSAGE_DELETE_TAG_SUCCESS, deletedTag);

        assertCommandSuccess(
                DeleteTagCommand.COMMAND_WORD + " " + toDelete.toString(), expectedModel, expectedResultMessage);
    }
/**
     * Deletes the tag at {@code toDelete} by creating a default {@code DeleteTagCommand} using {@code toDelete} and
     * performs the same verification as {@code assertCommandSuccess(String, Model, String)}.
     * @see DeleteTagCommandSystemTest#assertCommandSuccess(String, Model, String)
     */
Deletes the tag at  toDelete by creating a default  DeleteTagCommand using  toDelete and
performs the same verification as  assertCommandSuccess(String, Model, String).
Deletes the tag at toDelete by creating a default DeleteTagCommand using toDelete and performs the same verification as assertCommandSuccess ( String Model String ) .
private void assertCommandSuccess(Tag toDelete) {
        Model expectedModel = getModel();
        Tag deletedTag = removeTag(expectedModel, toDelete);
        String expectedResultMessage = String.format(MESSAGE_DELETE_TAG_SUCCESS, deletedTag);
        assertCommandSuccess(
                DeleteTagCommand.COMMAND_WORD + " " + toDelete.toString(), expectedModel, expectedResultMessage);
    }
private void assertCommandSuccess ( Tag toDelete ) { Model expectedModel = getModel ( ) ; Tag deletedTag = removeTag ( expectedModel , toDelete ) ; String expectedResultMessage = String . format ( MESSAGE_DELETE_TAG_SUCCESS , deletedTag ) ; assertCommandSuccess ( DeleteTagCommand . COMMAND_WORD + " " + toDelete . toString ( ) , expectedModel , expectedResultMessage ) ; }
Deletes the tag at {@code toDelete} by creating a default {@code DeleteTagCommand} using {@code toDelete} and
 performs the same verification as {@code assertCommandSuccess(String, Model, String)}.
Deletes the tag at { @code toDelete } by creating a default { @code DeleteTagCommand } using { @code toDelete } and performs the same verification as { @code assertCommandSuccess ( String Model String ) } .