TimerSLSBHome home = (TimerSLSBHome) getEJBHome(TimerSLSBHome.JNDI_NAME);
TimerSLSB bean = home.create();
byte[] handle = bean.startTimer(SHORT_PERIOD);
Thread.sleep(12 * SHORT_PERIOD + SHORT_PERIOD);
int count = bean.getTimeoutCount(handle);
bean.stopTimer(handle);
assertTrue("Timeout was expected to be called at least 10 times but was "
+ "only called: " + count + " times",
count >= 10);
Thread.sleep(5 * SHORT_PERIOD);
int count2 = bean.getTimeoutCount(handle);