private MockId getIdToDelete(StoreKey storeKey) {
    MockId idToDelete = null;
    for (MockId id : state.liveKeys) {
      if (id.getID().equals(storeKey.getID())) {
        idToDelete = id;
        break;
      }
    }
    if (idToDelete != null) {
      state.deletedKeys.add(idToDelete);
      state.liveKeys.remove(idToDelete);
    }
    return idToDelete;
  }
Use the given {@link StoreKey} to get its corresponding {@link MockId} and update various states in
{@link CuratedLogIndexState} in preparation for the delete.
@param storeKey the {@link StoreKey} to be deleted
@return the {@link MockId} to be deleted
ambry-store/src/test/java/com/github/ambry/store/BlobStoreStatsTest.java