final StatefulSession session2 = getSerialisedStatefulSession( session );
myList = (List<Message>) session2.getGlobal( "myList" );
new Thread(new Runnable() {
public void run() {
session2.fireUntilHalt();
}
}).start();
processInstance = ( ProcessInstance ) session2.getProcessInstance( processInstance.getId() );
assertEquals(1, session2.getTimerManager().getTimers().size());