@Test
  public void testExampleWithBothRootRegion() {
    cacheXmlFileName = CACHE_XML_FILE_1;

    vm0.invoke(() -> createCache(cacheXmlFileName));
    vm1.invoke(() -> createCache(cacheXmlFileName));
    vm0.invoke(this::validatePartitionedRegions);

    // Disconnecting and again creating the PR from xml file
    vm1.invoke(JUnit4DistributedTestCase::disconnectFromDS);
    vm1.invoke(() -> createCache(cacheXmlFileName));
    vm1.invoke(this::validatePartitionedRegions);
  }
This class tests regions created by xml files
geode-core/src/distributedTest/java/org/apache/geode/internal/cache/PartitionedRegionCacheXMLExampleDUnitTest.java