*/
@Test
@Verifies(value = "should return false if the program was completed", method = "isEnrolledInProgram(Patient,Program,Date)")
public void isEnrolledInProgram_shouldReturnFalseIfTheProgramWasCompleted() throws Exception {
ProgramWorkflowService pws = Context.getProgramWorkflowService();
Patient patient = Context.getPatientService().getPatient(2);
//for test purposes, lets set a program as complete
PatientProgram pp = pws.getPatientProgram(1);
Assert.assertSame(patient, pp.getPatient());
pp.setDateCompleted(new Date());