src/test/java/seedu/address/testutil/ParcelBuilder.java
public ParcelBuilder withName(String name) {
        try {
            this.parcel.setName(new Name(name));
        } catch (IllegalValueException ive) {
            throw new IllegalArgumentException("name is expected to be unique.");
        }
        return this;
    }
/**
     * Sets the {@code Name} of the {@code Parcel} that we are building.
     */
Sets the  Name of the  Parcel that we are building.
Sets the Name of the Parcel that we are building .
public ParcelBuilder withName(String name) {
        try {
            this.parcel.setName(new Name(name));
        } catch (IllegalValueException ive) {
            throw new IllegalArgumentException("name is expected to be unique.");
        }
        return this;
    }
public ParcelBuilder withName ( String name ) { try { this . parcel . setName ( new Name ( name ) ) ; } catch ( IllegalValueException ive ) { throw new IllegalArgumentException ( "name is expected to be unique." ) ; } return this ; }
Sets the {@code Name} of the {@code Parcel} that we are building.
Sets the { @code Name } of the { @code Parcel } that we are building .