@Test
public void handlesDivideByZeroIssues() {

    final RatioGauge divByZero = new RatioGauge() {
        @Override
        protected Ratio getRatio() {
            return Ratio.of(100, 0);
        }
    };
    assertThat(divByZero.getValue())
            .isNaN();
}