@Override
      public void run() {
        try {
          RegionFactory<String, String> factory = getCache().createRegionFactory();
          try {
            createRegion(name, "INCOMPATIBLE_ROOT", factory);
            fail("Should have thrown an IllegalStateException");
          } catch (IllegalStateException ex) {
            // pass...
          }

        } catch (CacheException ex) {
          fail("While creating Partitioned Region", ex);
        }
      }
Tests the compatibility of creating certain kinds of subregions of a local region.
geode-core/src/distributedTest/java/org/apache/geode/cache30/PartitionedRegionDUnitTest.java