public class TestXml extends TestCase {
public void testSimpleXml() throws Exception {
SemanticModules modules = new SemanticModules();
modules.addSemanticModule(new ProcessSemanticModule());
XmlProcessReader reader = new XmlProcessReader(modules);
reader.read(new InputStreamReader(TestXml.class.getResourceAsStream("XmlTest.xml")));
RuleFlowProcess process = (RuleFlowProcess) reader.getProcess();
assertNotNull(process);