public static void checkGetters(MessageInfo info, StoreKey key, long size, boolean isDeleted, boolean isTtlUpdated,
      boolean isUndeleted, long expiresAtMs, Long crc, short accountId, short containerId, long operationTimeMs,
      short lifeVersion) {
    assertEquals("Key not as expected", key, info.getStoreKey());
    assertEquals("Size not as expected", size, info.getSize());
    assertEquals("Expiration time not as expected", expiresAtMs, info.getExpirationTimeInMs());
    // this works assuming that the test takes < 100 ms to execute
    assertEquals("isExpired not as expected",
        expiresAtMs != Utils.Infinite_Time && expiresAtMs < System.currentTimeMillis(), info.isExpired());
    assertEquals("isDeleted not as expected", isDeleted, info.isDeleted());
    assertEquals("isTtlUpdated not as expected", isTtlUpdated, info.isTtlUpdated());
    assertEquals("isUndeleted not as expected", isUndeleted, info.isUndeleted());
    assertEquals("Crc not as expected", crc, info.getCrc());
    assertEquals("Account ID not as expected", accountId, info.getAccountId());
    assertEquals("Container ID not as expected", containerId, info.getContainerId());
    assertEquals("Op time not as expected", operationTimeMs, info.getOperationTimeMs());
    assertEquals("lifeVersion not as expected", lifeVersion, info.getLifeVersion());
  }
Checks getters of {@code info}
@param info the {@link MessageInfo} whose props need to checked
@param key the expected {@link StoreKey} in {@code info}.
@param size the expected {@link StoreKey} in {@code info}.
@param isDeleted the expected deleted state in {@code info}.
@param isTtlUpdated the expected ttl updated state in {@code info}.
@param isUndeleted the expected undeleted state in {@code info}.
@param expiresAtMs the expected expiry time (ms) in {@code info}.
@param crc the expected crc in {@code info}.
@param accountId the expected account id in {@code info}.
@param containerId the expected container id in {@code info}.
@param operationTimeMs the expected operation time (ms) in {@code info}.
@param lifeVersion the expected lifeVersion in {@code info}.
ambry-api/src/test/java/com/github/ambry/store/MessageInfoTest.java