columns[0] = qomFactory.column("node", "notion:booleanProperty", "notion:booleanProperty");
columns[1] = qomFactory.column("node", "notion:booleanProperty2", "notion:booleanProperty2");
Ordering[] orderings = null;
// Build and execute the query ...
Query query = qomFactory.createQuery(selector, constraint, orderings, columns);
assertThat(query, is(notNullValue()));
QueryResult result = query.execute();
String[] columnNames = {"notion:booleanProperty", "notion:booleanProperty2"};
validateQuery().rowCount(numResults).hasColumns(columnNames).validate(query, result);
}