@Test
  public void testPersistIntDiskIdInstance() {
    int maxOplogSizeinMB = 2;

    DiskId diskId = DiskId.createDiskId(maxOplogSizeinMB, true /* is persistence type */, true);
    assertTrue(
        "Instance of 'PersistIntOplogOffsetDiskId' was not created though max oplog size (in bytes) was smaller than Integer.MAX_VALUE",
        DiskId.isInstanceofPersistIntOplogOffsetDiskId(diskId));
  }
Tests that an instance of 'PersistenceIntOplogOffsetDiskId' is created when max-oplog-size (in
bytes) passed is smaller than Integer.MAX_VALUE
geode-core/src/test/java/org/apache/geode/internal/cache/DiskIdJUnitTest.java