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

    Integer key = 0;
    assertNull(((LocalRegion) region).getValueInVM(key));
    String valueOnDisk = (String) ((LocalRegion) region).getValueOnDisk(key);
    assertNotNull(valueOnDisk);
    assertEquals("value", valueOnDisk);

    region.get(key);

    CachedDeserializable cd = (CachedDeserializable) ((LocalRegion) region).getValueInVM(key);
    valueOnDisk = (String) cd.getValue();
    assertNotNull(valueOnDisk);
    assertEquals("value", valueOnDisk);

    valueOnDisk = (String) ((LocalRegion) region).getValueOnDisk(key);
    assertNotNull(valueOnDisk);
    assertEquals("value", valueOnDisk);
  }
Tests the {@link LocalRegion#getValueInVM getValueInVM} and {@link LocalRegion#getValueOnDisk
getValueOnDisk} methods that were added for testing.
geode-core/src/integrationTest/java/org/apache/geode/cache30/DiskRegionIntegrationTest.java