@Test
  public void recordVersionGreaterThanTwiceBitSetWidthShouldMoveBitSetAndCreateExceptions() {
    RegionVersionHolder h = createHolder(true);
    long version = ((long) Integer.MAX_VALUE) - 10L;
    LongStream.range(1, 10).forEach(h::recordVersion);
    h.recordVersion(15);
    h.recordVersion(version);
    assertEquals(version, h.getBitSetVersionForTesting());
    assertEquals(bitSet(0), h.getBitSetForTesting());
    assertContains(h, 1, 2, 3, 4, 5, 6, 7, 8, 9, 15, version);
    assertHasExceptions(h,
        RVVException.createException(15, version),
        RVVException.createException(9, 15));
  }
Tests of how the RegionVersionHolder maintains it's bitset under updates
geode-core/src/test/java/org/apache/geode/internal/cache/versions/RegionVersionHolderBitSetJUnitTest.java