public void testEntityBeanTimerHasTimerServiceAfterCancellationInstPerTx() throws Exception
{
String jndi = "ejb/test/timer/TimerEntityExtInstPerTx";
TimerEntityExtHome home = (TimerEntityExtHome) getEJBHome(jndi);
TimerEntityExt entity = home.create(new Integer(555));
entity.startTimer(SHORT_PERIOD);
Thread.sleep(12 * SHORT_PERIOD);
assertTrue("Timer service should be associated with bean." , entity.hasTimerService(jndi));
entity.stopTimer();
int lCount = entity.getTimeoutCount();
assertTrue("Timeout was expected to be called at least 10 times but was "