assertEquals("UPPER(LENGTH([selectorName].[propertyName]))", u.toString());
}
@Test
public void createQuery() throws RepositoryException {
Selector s = f.selector("nodeTypeName", "x");
BindVariableValue b = f.bindVariable("var");
Constraint c = f.propertyExistence("x", "c");
PropertyValue p = f.propertyValue("x", "propertyName");
c = f.and(f.comparison(p, QueryObjectModelConstants.JCR_OPERATOR_EQUAL_TO, b), c);
Ordering o = f.ascending(p);