NoopMeterRegistry extends MeterRegistry { @Override protected TimeUnit getBaseTimeUnit() { return TimeUnit.SECONDS; } NoopMeterRegistry(); private  NoopMeterRegistry(Clock clock);   }
@Test public void getBaseTimeUnit_returnsSeconds() { TimeUnit result = noopMeterRegistry.getBaseTimeUnit(); assertThat(result) .isEqualTo(SECONDS); }