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