@Test
public void testCalculateInfusionFormulaFromRate2()
{

  final InfusionRateCalculationDto calculationDto = new InfusionRateCalculationDto();
  calculationDto.setQuantity(0.5);
  calculationDto.setQuantityUnit("mg");
  calculationDto.setQuantityDenominator(2.0);
  final Double formula = medicationsBo.calculateInfusionFormulaFromRate(21.0, calculationDto, 10.0, "microgram/kg/min", 5.0);
  final double formulaWithNormalPrecision = Math.round(formula * 1000.0) / 1000.0;
  assertEquals(new Double(17.5), new Double(formulaWithNormalPrecision));
}