private void checkResult(final QueryResultFormatter queryResultFormatter) throws IOException {
    JsonNode jsonObject = new ObjectMapper().readTree(queryResultFormatter.toString());
    System.out.println(jsonObject.toString());
    assertThat(jsonObject.get(RESULT)).isNotNull();
  }
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