public void waitTillCacheServerIsReady(String serverName, int serverPort) {
    await()
        .until(() -> getCacheServerMXBean(serverName, serverPort) != null);
  }
convenience method to create a partition region with customized regionFactory and a customized
PartitionAttributeFactory

@param name the name of the region to create
@param regionFactoryConsumer a lamda that allows you to customize the regionFactory
@param attributesFactoryConsumer a lamda that allows you to customize the
       partitionAttributeFactory
@return a Partitioned Region
geode-dunit/src/main/java/org/apache/geode/test/junit/rules/MemberStarterRule.java