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));
pp.insertTimer("pk1", targetId, new Date(), 0, null);
sleep(500);
timerHandles = pp.listTimerHandles();
assertEquals("unexpected handle count", 1, timerHandles.size());