1) Defined Process Files:
2) Establish the code of the main method in the test class com.hongsoft.test: counter = 0; // To test the variable map inputs = new hashmap (); Inputs.put ("test", this); / / key: "Test" Value: This class is the object long id = Workflow.initialize ("Example", 1, INPUTS); // Put Map into Assertequals ("Beanshell Script Not Parsed Correctly", 2, Counter; / /judgment
3) The initial actions defined by the process is as follows:
Finally, Test.counter changed from 0 for 2.