private void closeCache(VM vm) {
    vm.invoke(() -> {
      closeCache();
      return null;
    });
  }
Test that we through an exception if one of the servers has persistent regions but not a
persistent registry.
geode-core/src/distributedTest/java/org/apache/geode/pdx/PdxClientServerDUnitTest.java