break;
}
}
assertTrue(act.state(), stateReached(act, "open.running"));
Thread.sleep(1000); // allow some time to invoke first tool
proc.suspend();
data = proc.processContext();
path = (String)data.get("TransitionPath");
assertTrue(path, path.equals("PATH:start:a1"));
assertTrue(act.state(),
stateReached(act, "closed.completed.abandoned"));