@Test
  public void versionZeroReadTest() throws IOException {
    String storeName = "store";
    long referenceTimeMs = Utils.getRandomLong(TestUtils.RANDOM, Long.MAX_VALUE);
    CompactionDetails details = getCompactionDetails(referenceTimeMs);
    CompactionLog cLog = new CompactionLog(tempDirStr, storeName, CompactionLog.VERSION_0, time, details, config);
    cLog.close();
    cLog = new CompactionLog(tempDirStr, storeName, STORE_KEY_FACTORY, time, config);
    verifyEquality(details, cLog.getCompactionDetails());
    assertEquals("Current Idx not as expected", 0, cLog.getCurrentIdx());
  }
Tests the reading of version 0
@throws IOException
ambry-store/src/test/java/com/github/ambry/store/CompactionLogTest.java