@Test
@DatabaseSetup("HibernateMedicationsDaoTest.testGetDoseFormByCode.xml")
public void testGetDoseFormByCode1()
{

  final DoseFormDto doseForm = medicationsDao.getDoseFormByCode("1", new DateTime(2013, 11, 1, 0, 0, 0));
  assertEquals(1L, doseForm.getId());
  assertEquals("1", doseForm.getCode());
  assertEquals("Tablet", doseForm.getName());
  assertEquals(DoseFormType.TBL, doseForm.getDoseFormType());
  assertEquals(MedicationOrderFormType.SIMPLE, doseForm.getMedicationOrderFormType());
}