src/test/java/seedu/address/testutil/ParcelBuilder.java
public ParcelBuilder withStatus(String status) {
        try {
            this.parcel.setStatus(Status.getInstance(status));
        } catch (IllegalValueException e) {
            throw new IllegalArgumentException(e.getMessage());
        }

        return this;
    }
/**
     * Sets the {@code Status} of the {@code Parcel} that we are building.
     */
Sets the  Status of the  Parcel that we are building.
Sets the Status of the Parcel that we are building .
public ParcelBuilder withStatus(String status) {
        try {
            this.parcel.setStatus(Status.getInstance(status));
        } catch (IllegalValueException e) {
            throw new IllegalArgumentException(e.getMessage());
        }
        return this;
    }
public ParcelBuilder withStatus ( String status ) { try { this . parcel . setStatus ( Status . getInstance ( status ) ) ; } catch ( IllegalValueException e ) { throw new IllegalArgumentException ( e . getMessage ( ) ) ; } return this ; }
Sets the {@code Status} of the {@code Parcel} that we are building.
Sets the { @code Status } of the { @code Parcel } that we are building .