public static RegionAttributes createRegionAttrsForPR(int red, int localMaxMem,
      long recoveryDelay) {
    return createRegionAttrsForPR(red, localMaxMem, recoveryDelay, null, null);
  }
This function creates Region attributes with provided scope,redundancy and localmaxMemory
geode-junit/src/main/java/org/apache/geode/internal/cache/PartitionedRegionTestHelper.java