assertSame( pd.getNode("discriminator"), tokenC.getNode() );
}
public void testDiscriminatorScenario5() {
ProcessDefinition pd = synchronizingdiscriminatorProcessDefinition;
Token root = Wfp06MultiChoiceTest.executeScenario(pd,5);
Token tokenB = root.getChild("to b");
Token tokenC = root.getChild("to c");
tokenB.signal();
assertSame( pd.getNode("multichoice"), root.getNode() );
assertSame( pd.getNode("discriminator"), tokenB.getNode() );
assertSame( pd.getNode("c"), tokenC.getNode() );
tokenC.signal();
assertSame( pd.getNode("d"), root.getNode() );
assertSame( pd.getNode("discriminator"), tokenB.getNode() );
assertSame( pd.getNode("discriminator"), tokenC.getNode() );
}