@Test
  public void testValues() {
    IntStream.range(0, MAX_ENTRIES + 1).forEach((i) -> region.put(i, "value"));

    Collection values = region.values();
    assertEquals(MAX_ENTRIES + 1, values.size());

    for (Object value : values) {
      assertEquals("value", value);
    }
  }
Tests iterating over all of the values when some have been overflowed.
geode-core/src/integrationTest/java/org/apache/geode/cache30/DiskRegionIntegrationTest.java