use of org.teiid.query.sql.symbol.XMLQuery in project teiid by teiid.
the class TestResolver method testXmlQueryWithParam.
@Test
public void testXmlQueryWithParam() {
Query q = (Query) helpResolve("select xmlquery('/a' passing ?)");
XMLQuery ex = (XMLQuery) SymbolMap.getExpression(q.getSelect().getSymbols().get(0));
assertEquals(DataTypeManager.DefaultDataClasses.XML, ex.getPassing().get(0).getExpression().getType());
}