assertNotNull(root);
assertEquals( "123", root.getAttribute("attr") );
// test parsing some simple code
new ExportDroolsJavaXml().parseJava(d, root, "// a comment\nRunInstanceWire rw = handler.generatedRunInstanceWire(sw, sw, event, operation); rw.setName(\"run\"); insert(rw); insert(\"a complicated string. with full stops. and line breaks;\");");
IterableElementList statements = xpath(root, "statement");
assertEquals(4, statements.getLength());
// first statement