src/test/java/seedu/insurancepal/testutil/EditPersonDescriptorBuilder.java
/**
     * Parses the {@code insurances} into a {@code Set<Insurance>} and set it to the
     * {@code EditPersonDescriptor} that we are building.
     */
Parses the  insurances into a  Set and set it to the
EditPersonDescriptor that we are building.
Parses the insurances into a Set and set it to the EditPersonDescriptor that we are building .
public EditPersonDescriptorBuilder withInsurances(Insurance... insurances) {
        Set<Insurance> insuranceSet = new HashSet<>(Arrays.asList(insurances));
        descriptor.setInsurances(insuranceSet);
        return this;
    }
public EditPersonDescriptorBuilder withInsurances ( Insurance ... insurances ) { Set < Insurance > insuranceSet = new HashSet < > ( Arrays . asList ( insurances ) ) ; descriptor . setInsurances ( insuranceSet ) ; return this ; }
Parses the {@code insurances} into a {@code Set<Insurance>} and set it to the
 {@code EditPersonDescriptor} that we are building.
Parses the { @code insurances } into a { @code Set<Insurance > } and set it to the { @code EditPersonDescriptor } that we are building .