private static void makeValuesOfSomeKeysNullInClientMsgsRegion(Integer port, String[] keys) {
    Region<Object, Object> msgsRegion =
        cache.getRegion(CacheServerImpl.generateNameForClientMsgsRegion(port));
    assertThat(msgsRegion).isNotNull();

    Set entries = msgsRegion.entrySet();
    Iterator iterator = entries.iterator();
    deletedValues = new Object[keys.length];
    while (iterator.hasNext()) {
      Region.Entry entry = (Region.Entry) iterator.next();
      ClientUpdateMessage cum = (ClientUpdateMessage) entry.getValue();
      for (int i = 0; i < keys.length; i++) {
        if (keys[i].equals(cum.getKeyToConflate())) {
          logger.debug("HARQueueNewImplDUnit: Removing " + cum.getKeyOfInterest());
          deletedValues[i] = msgsRegion.remove(entry.getKey());
        }
      }
    }
  }
This test verifies that the memory footprint of the ha region queues is less when ha-overflow
is enabled (with an appropriate value of haCapacity) compared to when it is disabled, for the
same amount of data feed.
geode-core/src/distributedTest/java/org/apache/geode/internal/cache/ha/HARQueueNewImplDistributedTest.java