@Test
  void basic() {
    final ImmutableQuery query = Query.of(Person.class);
    check(generate(query)).is("SELECT * FROM /myRegion");
    check(generate(query.withDistinct(true))).is("SELECT DISTINCT * FROM /myRegion");

    Expression proj1 = toExpression(reservedWords.value);
    check(generate(Query.of(Person.class).addProjections(proj1)))
            .is("SELECT value FROM /myRegion");

    Expression proj2 = toExpression(reservedWords.nullable);
    check(generate(Query.of(Person.class).addProjections(proj1, proj2)))
            .is("SELECT value, nullable FROM /myRegion");
  }
Check generated OQL out of {@link Query}
criteria/geode/test/org/immutables/criteria/geode/OqlGeneratorTest.java