);
PageflowParser pageflowParser = new PageflowParser(stringReader);
ProcessDefinition processDefinition = pageflowParser.readProcessDefinition();
StartState start = (StartState) processDefinition.getStartState();
Page confirm = (Page) processDefinition.getNode("confirm");
Page complete = (Page) processDefinition.getNode("complete");
Page cont = (Page) processDefinition.getNode("continue");
assert confirm!=null;
assert complete!=null;
assert cont!=null;
ProcessInstance processInstance = new ProcessInstance(processDefinition);