@Test
  public void testGetPathFromRoot() throws CacheException {
    if (!supportsSubregions()) {
      return;
    }
    String name = getUniqueName();

    Region<Object, Object> region = createRegion(name);
    String fullPath = SEPARATOR + "root" + SEPARATOR + name;
    assertEquals(fullPath, region.getFullPath());
    assertEquals(SEPARATOR + "root", region.getParentRegion().getFullPath());
    RegionFactory<Object, Object> regionFactory = cache.createRegionFactory(region.getAttributes());
    Region sub = regionFactory.createSubregion(region, "SUB");
    assertEquals(fullPath + SEPARATOR + "SUB", sub.getFullPath());
  }
Tests the {@link Region#getFullPath} method
geode-dunit/src/main/java/org/apache/geode/cache30/RegionTestCase.java