@Test
  public void testMemUsage() throws Exception {
    Portfolio[] portfolios = createPortfoliosAndPositions(1000);
    System.out.println("Size Of port " + ObjectSizer.REFLECTION_SIZE.sizeof(portfolios));

    QueryResultFormatter queryResultFormatter =
        new QueryResultFormatter(100).add(RESULT, portfolios);
    System.out.println("Size Of json " + ObjectSizer.REFLECTION_SIZE.sizeof(queryResultFormatter));

    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