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

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