private void newDelete(BlobStoreStats blobStoreStats, MockId idToDelete, short lifeVersion) throws StoreException {
    state.addDeleteEntry(idToDelete, null, lifeVersion);
    IndexValue currentDelete = state.getExpectedValue(idToDelete, false);
    IndexValue originalPut = state.getExpectedValue(idToDelete, true);
    IndexValue previousValue =
        state.getExpectedValue(idToDelete, EnumSet.complementOf(EnumSet.of(PersistentIndex.IndexEntryType.TTL_UPDATE)),
            new FileSpan(originalPut.getOffset(), currentDelete.getOffset()));
    blobStoreStats.handleNewDeleteEntry(idToDelete, currentDelete, originalPut, previousValue);
  }
A helper function that deletes the PUT with the given {@link MockId} and lifeVersion,  and inform
{@link BlobStoreStats} about it.
@param blobStoreStats the {@link BlobStoreStats} instance to handle the new delete
@param idToDelete the {@link MockId} to be deleted
@param lifeVersion the lifeVersion of the new delete
@throws StoreException
ambry-store/src/test/java/com/github/ambry/store/BlobStoreStatsTest.java