@Test
  public void testQueryLike() throws Exception {
    Portfolio[] portfolios = createPortfoliosAndPositions(2);

    QueryResultFormatter queryResultFormatter = new QueryResultFormatter(100).add(RESULT, null);
    queryResultFormatter.add("member", "server1");
    // checkResult(queryResultFormatter); -- fails

    for (int i = 0; i < 2; i++) {
      queryResultFormatter.add(RESULT, portfolios[i]);
    }
    checkResult(queryResultFormatter);
  }
Integration tests for {@link QueryResultFormatter} querying {@link Portfolio}.
Extracted from {@code QueryResultFormatterPdxIntegrationTest}

TODO: add real assertions
geode-core/src/integrationTest/java/org/apache/geode/cache/query/QueryResultFormatterQueryIntegrationTest.java