public void testStart() {
// get a business process id
BusinessProcessImpl bProcess = new BusinessProcessImpl();
String graphName = "Graph" + count++;
bProcess.setName(graphName);
Node rootNode = new BaseNodeImpl() {
public Connection[] doEnd(NodeContext ctx) {
return null;
}
};
rootNode.setNodeId(new NodeID(1));
rootNode.setDisplayName("root");
bProcess.setRoot(rootNode);
BusinessProcessID bpId = bpService.addGraph(bProcess);
// then create a map of parameters