@Test
  void filter() {
    check(generate(Query.of(Person.class).withFilter(toExpression(person.age.greaterThan(18)))))
            .is("SELECT * FROM /myRegion WHERE age > $1");
  }
Check generated OQL out of {@link Query}
criteria/geode/test/org/immutables/criteria/geode/OqlGeneratorTest.java