public void testEntityBeanSingleTimerHasTimerServiceAfterExpirationInstPerTx() throws Exception
{
String jndi = "ejb/test/timer/TimerEntityExtInstPerTx";
TimerEntityExtHome home = (TimerEntityExtHome) getEJBHome(jndi);
TimerEntityExt entity = home.create(new Integer(666));
entity.startSingleTimer(SHORT_PERIOD);
Thread.sleep(5 * SHORT_PERIOD);
assertFalse("Timer service should be associated with bean." , entity.hasTimerService(jndi));
int lCount = entity.getTimeoutCount();
assertTrue("Timeout was expected to be called only once but was called: "