private MessageInfo updateTtl(MockId idToUpdate) throws StoreException {
    MessageInfo putMsgInfo = allKeys.get(idToUpdate).getFirst();
    MessageInfo info =
        new MessageInfo(idToUpdate, TTL_UPDATE_RECORD_SIZE, false, true, false, Utils.Infinite_Time, null,
            putMsgInfo.getAccountId(), putMsgInfo.getContainerId(), time.milliseconds(),
            MessageInfo.LIFE_VERSION_FROM_FRONTEND);
    store.updateTtl(Collections.singletonList(info));
    ttlUpdatedKeys.add(idToUpdate);
    return info;
  }
Updates the TTL of a blob
@param idToUpdate the {@link MockId} of the blob to update.
@return the {@link MessageInfo} associated with the update.
@throws StoreException
ambry-store/src/test/java/com/github/ambry/store/BlobStoreTest.java