@Test
public void evaluateShouldReturnAllPatientsOnDrugsOnSpecifiedDate() throws Exception {

	cohortDefinition.setActiveOnDate(DateUtil.getDateTime(2007, 12, 3));
	Cohort cohort = Context.getService(CohortDefinitionService.class).evaluate(cohortDefinition, null);
	Assert.assertTrue(cohort.contains(2));
	Assert.assertEquals(1, cohort.size());
}