private void doPuts(int count, String regex, int regexNum) {
    Region<String, String> region = cache().getRegion(regionName);
    for (int i = 0; i < count; i++) {
      region.create("KEY_" + i, "VALUE__" + i);
    }
    if (regex != null) {
      for (int i = 0; i < regexNum; i++) {
        region.create("X_KEY_" + i, "X_VALUE__" + i);
      }
    }
  }
Functional distributed tests for Register Interest with KEYS_VALUES policy.

<p>
TRAC #43684: Register interest with policy KEYS_VALUES is inefficient
geode-core/src/distributedTest/java/org/apache/geode/internal/cache/partitioned/RegisterInterestKeysValuesDistributedTest.java