void verifyEntriesForHardDeletes(Set<MockId> deletedIds) throws IOException {
    for (MockId id : deletedIds) {
      IndexValue putValue = getExpectedValue(id, true);
      if (putValue != null) {
        Offset offset = putValue.getOffset();
        LogSegment segment = log.getSegment(offset.getName());
        long size = putValue.getSize() - CuratedLogIndexState.HARD_DELETE_START_OFFSET
            - CuratedLogIndexState.HARD_DELETE_LAST_PART_SIZE;
        ByteBuffer readBuf = ByteBuffer.allocate((int) size);
        segment.readInto(readBuf, offset.getOffset() + CuratedLogIndexState.HARD_DELETE_START_OFFSET);
        readBuf.flip();
        while (readBuf.hasRemaining()) {
          assertEquals("Hard delete has not zeroed out the data for id " + id, (byte) 0, readBuf.get());
        }
      }
    }
  }
Verify that deleted entries are hard deleted
@param deletedIds the set of {@link MockId}s that are deleted
@throws IOException
ambry-store/src/test/java/com/github/ambry/store/CuratedLogIndexState.java