@Test
public void testCalculateParacetamolRuleResultUnderagedPatient2()
{

  final long patientAgeInYears = 2L;
  final double patientWeight = 10.0;
  final double patientHeight = 150.0;
  final DateTime actionTimeStamp = new DateTime(2016, 1, 20, 12, 0, 0);
  final Locale locale = new Locale("en_GB");
  final double dailyDosage = 2000.0;
  final ParacetamolRuleResult paracetamolRuleResult = paracetamolRule.calculateRuleResult(
      dailyDosage,
      patientWeight,
      patientAgeInYears,
      Collections.emptyList(),
      locale);
  // 60mg/kg/day --> 60*10 = 600mg
  assertNotNull(paracetamolRuleResult);
  assertTrue(paracetamolRuleResult.getRule().startsWith("60mg/"));
  // Note that percentage is calculated using Math.ceil() function, therefore result(2000/600 * 100) is not 333.
  assertEquals(334, paracetamolRuleResult.getUnderageRulePercentage().intValue());
  assertTrue(!paracetamolRuleResult.isQuantityOk());
}