private void createClientCache(int port) {
    ClientCacheFactory ccf = new ClientCacheFactory();
    ccf.addPoolServer(hostName, port).setPoolSubscriptionEnabled(true);

    createClientCache(ccf);

    ClientRegionFactory crf =
        clientCache().createClientRegionFactory(ClientRegionShortcut.CACHING_PROXY);
    crf.create(regionName);
  }
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