src/test/java/seedu/address/logic/commands/applicant/EditApplicantTest.java
@Test
    public void execute_dateAppliedLaterThanInterviewDate_failure() {
        Applicant firstApplicant = model.getFilteredApplicantList().get(INDEX_FIRST_PERSON.getZeroBased());
        EditApplicant.EditApplicantDescriptor descriptor = new EditApplicantDescriptorBuilder(firstApplicant)
                .withDateApplied(VALID_DATE_TWO).build();

        EditApplicant editCommand = new EditApplicant(INDEX_FIRST_PERSON, descriptor);

        assertCommandFailure(editCommand, model, EditApplicant.MESSAGE_DATE_APPLIED_LATER_THAN_INTERVIEW_DATE);
    }
/**
     * Edit Date Applied to be later than the Interview Date,
     * this should not be possible as an applicant must have applied first before getting an interview.
     */
Edit Date Applied to be later than the Interview Date,
this should not be possible as an applicant must have applied first before getting an interview.
Edit Date Applied to be later than the Interview Date this should not be possible as an applicant must have applied first before getting an interview .
@Test
    public void execute_dateAppliedLaterThanInterviewDate_failure() {
        Applicant firstApplicant = model.getFilteredApplicantList().get(INDEX_FIRST_PERSON.getZeroBased());
        EditApplicant.EditApplicantDescriptor descriptor = new EditApplicantDescriptorBuilder(firstApplicant)
                .withDateApplied(VALID_DATE_TWO).build();
        EditApplicant editCommand = new EditApplicant(INDEX_FIRST_PERSON, descriptor);
        assertCommandFailure(editCommand, model, EditApplicant.MESSAGE_DATE_APPLIED_LATER_THAN_INTERVIEW_DATE);
    }
@ Test public void execute_dateAppliedLaterThanInterviewDate_failure ( ) { Applicant firstApplicant = model . getFilteredApplicantList ( ) . get ( INDEX_FIRST_PERSON . getZeroBased ( ) ) ; EditApplicant . EditApplicantDescriptor descriptor = new EditApplicantDescriptorBuilder ( firstApplicant ) . withDateApplied ( VALID_DATE_TWO ) . build ( ) ; EditApplicant editCommand = new EditApplicant ( INDEX_FIRST_PERSON , descriptor ) ; assertCommandFailure ( editCommand , model , EditApplicant . MESSAGE_DATE_APPLIED_LATER_THAN_INTERVIEW_DATE ) ; }
Edit Date Applied to be later than the Interview Date,
 this should not be possible as an applicant must have applied first before getting an interview.
Edit Date Applied to be later than the Interview Date this should not be possible as an applicant must have applied first before getting an interview .