@Test
  void countAll() {
    check(generate(Query.of(Person.class).withCount(true)))
            .is("SELECT COUNT(*) FROM /myRegion");

  }
Check generated OQL out of {@link Query}
criteria/geode/test/org/immutables/criteria/geode/OqlGeneratorTest.java