private void verifyIndexEntry(IndexEntry entry, MockId id, long offset, long size, long expiresAtMs,
      boolean isDeleted, long origMsgOffset) {
    assertEquals("Key not as expected", id, entry.getKey());
    IndexValue value = entry.getValue();
    assertEquals("Offset not as expected", offset, value.getOffset().getOffset());
    assertEquals("Size not as expected", size, value.getSize());
    assertEquals("ExpiresAtMs not as expected", expiresAtMs, value.getExpiresAtMs());
    assertEquals("Entry type not as expected", isDeleted, value.isDelete());
    assertEquals("Original message offset not as expected", origMsgOffset, value.getOriginalMessageOffset());
  }
Verifies the given {@code entry} has the values for fields equal to the ones provided.
@param entry the {@link IndexEntry} to check.
@param id the expected {@link MockId}.
@param offset the expected offset.
@param size the expected size.
@param expiresAtMs the expected expiry time in ms.
@param isDeleted the expected delete state.
@param origMsgOffset the expected original message offset.
ambry-store/src/test/java/com/github/ambry/store/BlobStoreCompactorTest.java