@Test
public void testCalculateInfusionRateFromFormula3()
{

  final InfusionRateCalculationDto calculationDto = new InfusionRateCalculationDto();
  calculationDto.setQuantity(50.0);
  calculationDto.setQuantityUnit("nanogram");
  calculationDto.setQuantityDenominator(1.0);
  final Double rate = medicationsBo.calculateInfusionRateFromFormula(12.0, "microgram/kg/d", calculationDto, 10.0, 70.0);
  final double rateWithNormalPrecision = Math.round(rate * 1000.0) / 1000.0;
  assertEquals(new Double(100.0), new Double(rateWithNormalPrecision));
}