source: class QueryTest  {
  
      @Test
      public void testQuery() throws Exception {
  
target:         List<User> persons = getPersons();
          
          Query query = new QueryBuilder()
              .as("p")
              .orderby("income")
              .max(3)
              .where(eq(property("division"), "Sales"))
              .select(newObject()
                        .set("name", "firstName + ' ' + lastName")
                        .set("income", "income")).build();
          
          Collection<Map> result = query.execute(persons);
          assertEquals(3, result.size());
      }
  
  }