@Test public void testIoExceptionUpdatesMeter() { Meter ioExceptions = hostMetrics.getIoExceptions(); assertThat(ioExceptions.getCount()).isZero(); hostMetrics.recordIoException(); assertThat(ioExceptions.getCount()).isEqualTo(1); }
@Test public void testIoExceptionUpdatesMeter() { Meter ioExceptions = hostMetrics.getIoExceptions(); assertThat(ioExceptions.getCount()).isZero(); hostMetrics.recordIoException(); assertThat(ioExceptions.getCount()).isEqualTo(1); }