@Override
  protected final void postSetUp() throws Exception {
    diskDirSize = new int[4];
    diskDirSize[0] = Integer.MAX_VALUE;
    diskDirSize[1] = Integer.MAX_VALUE;
    diskDirSize[2] = 1073741824;
    diskDirSize[3] = 2073741824;

    for (int i = 0; i < diskRegionProperties.length; i++) {
      diskRegionProperties[i] = new DiskRegionProperties();
      if (i == 0) {
        diskRegionProperties[i].setDiskDirsAndSizes(dirs, diskDirSize);
      } else {
        diskRegionProperties[i].setDiskDirs(dirs);
      }
    }
  }
This test is for testing Disk attributes set programmatically The generated cacheXml is used to
create a cache and the region properties retested.
geode-core/src/integrationTest/java/org/apache/geode/internal/cache/DiskRegCachexmlGeneratorJUnitTest.java