@After
  public void tearDown() throws Exception {
    utils.closeCache();
  }
A sample test class using the QueryTestUtils
geode-core/src/integrationTest/java/org/apache/geode/cache/query/QueryTestUtilsJUnitTest.java