private VersionedObjectList doRemoveAll(Region<String, TickerData> region, String keyPrefix,
      int entryCount) {
    InternalRegion internalRegion = (InternalRegion) region;

    InternalEntryEvent event =
        EntryEventImpl.create(internalRegion, Operation.REMOVEALL_DESTROY, null, null,
            null, false, internalRegion.getMyId());
    event.disallowOffHeapValues();

    Collection<Object> keys = new ArrayList<>();
    for (int i = 0; i < entryCount; i++) {
      keys.add(keyPrefix + i);
    }

    DistributedRemoveAllOperation removeAllOp =
        new DistributedRemoveAllOperation(event, keys.size(), false);

    return internalRegion.basicRemoveAll(keys, removeAllOp, null);
  }
Same test as testVersionsOnServersWithNotificationsOnly but also does a removeAll
geode-cq/src/distributedTest/java/org/apache/geode/internal/cache/PutAllClientServerDistributedTest.java