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, ((InternalProcessRuntime) ((InternalWorkingMemory) session2).getProcessRuntime()).getTimerManager().getTimers().size());