@Test
  void projections() {
    final ImmutableQuery query = Query.of(Person.class);
    check(generate(query.addProjections(toExpression(person.fullName))))
            .is("SELECT fullName FROM /myRegion");

    check(generate(query.addProjections(toExpression(person.fullName), toExpression(person.fullName))))
            .is("SELECT fullName, fullName FROM /myRegion");

    check(generate(query.addProjections(
            toExpression(person.fullName), toExpression(person.age)
    ))).is("SELECT fullName, age FROM /myRegion");
  }
Check generated OQL out of {@link Query}
criteria/geode/test/org/immutables/criteria/geode/OqlGeneratorTest.java