ConcreteTimedBean extends AbstractGenericBean { public void timedMethod() { }  void timedMethod();  }
@Test @InSequence(3) public void callTimedMethodOnce(MetricRegistry registry) { Timer timer = registry.getTimer(timerMID); assertThat("Timer is not registered correctly", timer, notNullValue()); bean.timedMethod(); assertThat("Timer count is incorrect", timer.getCount(), is(equalTo(1L))); }