// after each task, check if the token remains in a
assertSame(processDefinition.getNode("a"), token.getNode());
}
// signal='never' is used when an external trigger should trigger execution, without
// any relation to the tasks finishing
processInstance.signal();
assertSame(processDefinition.getNode("b"), token.getNode());
}
public void testSignalUnsynchronized() {
ProcessDefinition processDefinition = ProcessDefinition.parseXmlString(