f.setTypeString("CLOB");
helpTestExpression("xmlserialize(document x as CLOB)", "XMLSERIALIZE(DOCUMENT x AS CLOB)", f);
}
@Test public void testXmlQuery() throws Exception {
XMLQuery f = new XMLQuery();
f.setXquery("/x");
f.setEmptyOnEmpty(false);
f.setPassing(Arrays.asList(new DerivedColumn(null, new ElementSymbol("foo"))));
helpTestExpression("xmlquery('/x' passing foo null on empty)", "XMLQUERY('/x' PASSING foo NULL ON EMPTY)", f);
}