@Test
public void getMedicationIdsWithIngredientRule()
{

  final Set<Long> medicationIdsWithIngredientRule = medicationsDao.getMedicationIdsWithIngredientRule(
      MedicationRuleEnum.PARACETAMOL_MAX_DAILY_DOSE,
      new DateTime(2013, 11, 1, 0, 0, 0));
  assertTrue(medicationIdsWithIngredientRule.contains(1L));
}