JbpmContext jbpmContext = jbpmConfiguration.createJbpmContext();
StringReader stringReader = new StringReader(
"<pageflow-definition name='hoepla'>" +
" <start-page name='start' view-id='/start.xhtml'/>" +
"</pageflow-definition>");
PageflowParser pageflowParser = new PageflowParser(stringReader);
ProcessDefinition processDefinition = pageflowParser.readProcessDefinition();
assert "start".equals(processDefinition.getStartState().getName());
jbpmContext.close();
}