### Question:
ApplicationScopedTimedMethodBean { @Timed public void applicationScopedTimedMethod() { }  @Timed void applicationScopedTimedMethod();  }### Answer:
@Test @InSequence(2) public void callTimedMethodOnce() { assertThat("Timer is not registered correctly", registry.getTimers(), hasKey(TIMER_NAME)); Timer timer = registry.getTimers().get(TIMER_NAME); bean.applicationScopedTimedMethod(); assertThat("Timer count is incorrect", timer.getCount(), is(equalTo(1L))); }