@Test
public void getMedicationIdsWithIngredientId()
{

  final List<Long> medicationIdsWithIngredientId = medicationsDao.getMedicationIdsWithIngredientId(
      2L,
      new DateTime(2013, 11, 1, 0, 0, 0));
  assertTrue(medicationIdsWithIngredientId.contains(2L));
}