* Test case for {@link QueryObjectModelFactory#or(Constraint, Constraint)}
*/
public void testOr() throws RepositoryException {
PropertyExistence c1 = qomFactory.propertyExistence(propertyName1);
PropertyExistence c2 = qomFactory.propertyExistence(propertyName2);
Or or = qomFactory.or(c1, c2);
assertTrue("Not a PropertyExistence constraint",
or.getConstraint1() instanceof PropertyExistence);
assertTrue("Not a PropertyExistence constraint",
or.getConstraint2() instanceof PropertyExistence);
}