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