private void newTtlUpdate(BlobStoreStats blobStoreStats, MockId idToUpdate) throws StoreException {
    // Get original PUT IndexValue before adding TTL_UPDATE so that original PUT IndexValue would have it's original
    // expiration time.
    IndexValue originalPut = state.getExpectedValue(idToUpdate, true);
    state.makePermanent(idToUpdate, false);
    IndexValue ttlUpdateValue =
        state.getExpectedValue(idToUpdate, EnumSet.of(PersistentIndex.IndexEntryType.TTL_UPDATE), null);
    blobStoreStats.handleNewTtlUpdateEntry(idToUpdate, ttlUpdateValue, originalPut);
  }
A helper function that updates ttl of the blob with the given {@link MockId} and inform {@link BlobStoreStats}
about it.
@param blobStoreStats the {@link BlobStoreStats} instance to handle the new ttl_update
@param idToUpdate the {@link MockId} to be updated
@throws StoreException
ambry-store/src/test/java/com/github/ambry/store/BlobStoreStatsTest.java