private void doPRNoLRUDeltaTest(boolean shouldSizeChange) {
    VM vm1 = server1.getVM();
    VM vm2 = server2.getVM();

    createPR(server1);
    createPR(server2);

    TestDelta delta1 = new TestDelta(false, SMALLER_DELTA_DATA, shouldSizeChange);
    put(vm1, delta1);
    long origPRSize0 = getSizeFromPRStats(vm1);
    long origPRSize1 = getSizeFromPRStats(vm2);

    // Update the delta
    delta1.info = LARGER_DELTA_DATA;
    delta1.hasDelta = true;
    put(vm1, delta1);
    long finalPRSize0 = getSizeFromPRStats(vm1);
    long finalPRSize1 = getSizeFromPRStats(vm2);

    if (shouldSizeChange) {
      // I'm not sure what the change in size should be, because we went
      // from serialized to deserialized
      assertThat(finalPRSize0 - origPRSize0).isNotEqualTo(0);
      assertThat(finalPRSize1 - origPRSize1).isNotEqualTo(0);
    } else {
      assertThat(finalPRSize0 - origPRSize0).isEqualTo(0);
      assertThat(finalPRSize1 - origPRSize1).isEqualTo(0);
    }
  }
Tests the use of the per-delta "forceRecalculateSize" flag.
geode-core/src/distributedTest/java/org/apache/geode/internal/cache/DeltaForceSizingFlagDUnitTest.java