Micrometer extends OpenMonBase<TimerContext> { @Override public TimerContext start(JoinPoint.StaticPart jp) { return new TimerContext(jp); }  @Override TimerContext start(JoinPoint.StaticPart jp); @Override void stop(TimerContext context); static MeterRegistry getMeterRegistry(); static void setMeterRegistry(MeterRegistry newMeterRegistry);  }
@Test public void testStart() throws Exception { TimerContext mon = openMon.start(staticPart); assertThat(openMon.getTimer(staticPart.toString()).count()).describedAs("A timer that wasn't started should not have a count").isEqualTo(0); }