ConcreteExtendedTimedBean extends AbstractTimedBean { public void anotherTimedMethod() { }  void anotherTimedMethod();  }
@Test @InSequence(4) public void callExtendedTimedMethodOnce(MetricRegistry registry) { Timer timer = registry.getTimer(extendedTimedMID); assertThat("Timer is not registered correctly", timer, notNullValue()); bean.anotherTimedMethod(); assertThat("Timer count is incorrect", timer.getCount(), is(equalTo(1L))); }