assertThat(query.columns().size(), is(1));
assertThat(query.columns().get(0).selectorName(), is(selectorName("car:Car")));
assertThat(query.columns().get(0).getColumnName(), is("car:model"));
assertThat(query.columns().get(0).getPropertyName(), is("car:model"));
// FROM ...
NamedSelector selector = (NamedSelector)query.source();
assertThat(selector.name(), is(selectorName("car:Car")));
assertThat(selector.aliasOrName(), is(selectorName("car:Car")));
assertThat(selector.alias(), is(nullValue()));
// WHERE ...
PropertyExistence constraint = isPropertyExistence(query.constraint());
assertThat(constraint.getPropertyName(), is("car:model"));
assertThat(constraint.selectorName(), is(selectorName("car:Car")));
// ORDER BY ...