results.assertEncounterCreated();
results.assertProvider(502);
results.assertLocation(2);
// make sure the enrollment date has NOT been changed (since no state was set)
ProgramWorkflow workflow = Context.getProgramWorkflowService().getWorkflow(100);
Assert.assertEquals(1, Context.getProgramWorkflowService().getPatientPrograms(patient, workflow.getProgram(), null, null, null, null, false).size());
PatientProgram patientProgram = Context.getProgramWorkflowService().getPatientPrograms(patient, workflow.getProgram(), null, null, null, null, false).get(0);
Assert.assertNotNull(patientProgram);
Assert.assertEquals(dateAsString(DATE), dateAsString(patientProgram.getDateEnrolled()));
// assert that no states have been associated
Assert.assertEquals(0, patientProgram.getStates().size());