protected static int getObjectSizerInvocations(InternalRegion region) {
    TestObjectSizer sizer = (TestObjectSizer) region.getEvictionAttributes().getObjectSizer();
    int result = sizer.invocations.get();
    logger.info("objectSizerInvocations=" + result);
    return result;
  }
Tests the use of the per-delta "forceRecalculateSize" flag.
geode-core/src/distributedTest/java/org/apache/geode/internal/cache/DeltaForceSizingFlagDUnitTest.java