List children = handler.getChildren(document, op, true);
assertEquals(5, children.size());
}
public void testWrapper() throws Exception {
XSDHelper xsdHelper = context.getXSDHelper();
xsdHelper.define(getClass().getResourceAsStream("/wrapper.xsd"), null);
XMLHelper xmlHelper = context.getXMLHelper();
XMLDocument document = xmlHelper.load(getClass().getResourceAsStream("/wrapper.xml"));
Operation op = new OperationImpl();
List children = handler.getChildren(document, op, true);
assertEquals(5, children.size());