Function innerFunc = (Function) afterFunc.getArgs()[0];
assertEquals("Stored proc param did not get mapped correctly: ", exampleElement(false, 1), innerFunc.getArg(0)); //$NON-NLS-1$
}
public void testCriteriaSelector() {
CriteriaSelector selector = new CriteriaSelector();
selector.setSelectorType(CriteriaSelector.COMPARE_EQ);
selector.addElement(exampleElement(true, 1));
// Run symbol mapper
StaticSymbolMappingVisitor visitor = new StaticSymbolMappingVisitor(getSymbolMap());
DeepPreOrderNavigator.doVisit(selector, visitor);
// Check that element got mapped
assertEquals("Criteria selector element did not get mapped correctly: ", exampleElement(false, 1), selector.getElements().get(0)); //$NON-NLS-1$
}