@Verifies(value = "should return false if the date is before the existing patient program enrollment date", method = "isEnrolledInProgram(Patient,Program,Date)")
public void isEnrolledInProgram_shouldReturnFalseIfTheDateIsBeforeTheExistingPatientProgramEnrollmentDateIgnoringTimeFields()
throws Exception {//2008-08-01 00:00:00.0
ProgramWorkflowService pws = Context.getProgramWorkflowService();
Patient patient = Context.getPatientService().getPatient(2);
Program program = pws.getProgram(1);
PatientProgram pp = pws.getPatientProgram(1);
Calendar cal = Calendar.getInstance();
cal.set(2008, 6, 31);
Date newEnrollmentDate = cal.getTime();