ApplicationScopedTimedMethodBean { @Timed public void applicationScopedTimedMethod() { }  @Timed void applicationScopedTimedMethod(); @Override String toString();  }
@Test @InSequence(2) public void callTimedMethodOnce() { Timer timer = registry.getTimer(timerMID); assertThat("Timer is not registered correctly", timer, notNullValue()); bean.applicationScopedTimedMethod(); assertThat("Timer count is incorrect", timer.getCount(), is(equalTo(1L))); }