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

  final DoseFormDto doseForm = medicationsDao.getDoseFormByCode("2", new DateTime(2013, 11, 1, 0, 0, 0));
  assertEquals(2L, doseForm.getId());
  assertEquals("2", doseForm.getCode());
  assertEquals("Fluid", doseForm.getName());
  assertNull(doseForm.getDoseFormType());
  assertEquals(MedicationOrderFormType.COMPLEX, doseForm.getMedicationOrderFormType());
}