private void verifyDeleteFailure(MockId idToDelete, StoreErrorCodes expectedErrorCode) {
    MessageInfo info =
        new MessageInfo(idToDelete, DELETE_RECORD_SIZE, idToDelete.getAccountId(), idToDelete.getContainerId(),
            time.milliseconds(), MessageInfo.LIFE_VERSION_FROM_FRONTEND);
    try {
      store.delete(Collections.singletonList(info));
      fail("Store DELETE should have failed");
    } catch (StoreException e) {
      assertEquals("Unexpected StoreErrorCode", expectedErrorCode, e.getErrorCode());
    }
  }
Verifies that DELETE fails.
@param idToDelete the {@link MockId} to DELETE.
@param expectedErrorCode the expected {@link StoreErrorCodes} for the failure.
ambry-store/src/test/java/com/github/ambry/store/BlobStoreTest.java