src/test/java/seedu/address/bot/parcel/ParcelParserTest.java
public static void assertParseSuccess(ParcelParser parser, String userInput, ReadOnlyParcel expectedParcel) {
        try {
            ReadOnlyParcel parsedParcel = parser.parse(userInput);
            assertEquals(parsedParcel, expectedParcel);
        } catch (ParseException pe) {
            throw new IllegalArgumentException("Invalid userInput.", pe);
        }
    }
/**
     * Asserts that the parsing of {@code userInput} by {@code parser} is successful and the command created
     * equals to {@code expectedCommand}.
     */
Asserts that the parsing of  userInput by  parser is successful and the command created
equals to  expectedCommand.
Asserts that the parsing of userInput by parser is successful and the command created equals to expectedCommand .
public static void assertParseSuccess(ParcelParser parser, String userInput, ReadOnlyParcel expectedParcel) {
        try {
            ReadOnlyParcel parsedParcel = parser.parse(userInput);
            assertEquals(parsedParcel, expectedParcel);
        } catch (ParseException pe) {
            throw new IllegalArgumentException("Invalid userInput.", pe);
        }
    }
public static void assertParseSuccess ( ParcelParser parser , String userInput , ReadOnlyParcel expectedParcel ) { try { ReadOnlyParcel parsedParcel = parser . parse ( userInput ) ; assertEquals ( parsedParcel , expectedParcel ) ; } catch ( ParseException pe ) { throw new IllegalArgumentException ( "Invalid userInput." , pe ) ; } }
Asserts that the parsing of {@code userInput} by {@code parser} is successful and the command created
 equals to {@code expectedCommand}.
Asserts that the parsing of { @code userInput } by { @code parser } is successful and the command created equals to { @code expectedCommand } .