@Test
@DatabaseSetup("HibernateMedicationsDaoTest.testMedicationsTree.xml")
public void testGetMedicationProducts2()
{

  final List<Long> routeIds = Collections.singletonList(2L);
  final List<MedicationDto> medicationProducts =
      medicationsDao.getMedicationChildProducts(1L, routeIds, new DateTime(2013, 11, 1, 0, 0, 0));
  assertEquals(1, medicationProducts.size());
  assertEquals(121L, (long)medicationProducts.get(0).getId());
}