public void closeCache() {
    if (!cache.isClosed()) {
      cache.close();
    }
  }
Utility class for testing supported queries
geode-dunit/src/main/java/org/apache/geode/cache/query/QueryTestUtils.java