@Test
public void testDivisionByZeroRatioDenominatorIsZero() {

  float ratio = resourceCalculator.ratio(newResource(1, 1), newResource(0,
      0));
  assertEquals(Float.POSITIVE_INFINITY, ratio, 0.00001);
}