public static Object getValueFromDiskMethod(Object ob) {
    Object val = null;
    // get from disk
    try {
      DiskId diskId = ((DiskEntry) (((LocalRegion) region).basicGetEntry(ob))).getDiskId();
      val = ((LocalRegion) region).getDiskRegion().get(diskId);
    } catch (Exception ex) {
      ex.printStackTrace();
      fail("Failed to get the value on disk");

    }
    return val;

  }
Disk Reg DUNIT Test: A byte array value when put in a remote VM , gets pushed to local VM as a
VMCachedDeserializable object & that should get persisted in the DiskRegion correctly. The value
when obtained from the disk ,locally , should be correctly obtained as ByteArrray.
geode-core/src/distributedTest/java/org/apache/geode/internal/cache/DiskRegByteArrayDUnitTest.java