// check that there are no timers persisted
List timerHandles = pp.listTimerHandles();
assertEquals("unexpected handle count", 0, timerHandles.size());
InitialContext iniCtx = getInitialContext();
TimerEntityHome home = (TimerEntityHome)iniCtx.lookup(TimerEntityHome.JNDI_NAME);
TimerEntity entity = home.create(new Integer(1));
try
{
// insert a timer into the db
ObjectName oname = ObjectNameFactory.create("jboss.j2ee:jndiName=test/txtimer/TimerEntity,service=EJB");
TimedObjectId targetId = new TimedObjectId(oname, new Integer(1));