@Test
public void testCalculateInfusionRateFromFormula2()
{

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