@Test
  public void deleteErrorCasesTest() throws StoreException {
    // ID that is already deleted
    verifyDeleteFailure(deletedKeys.iterator().next(), StoreErrorCodes.IDDeleted);
    // ID that does not exist
    verifyDeleteFailure(getUniqueId(), StoreErrorCodes.IDNotFound);
    MockId id = getUniqueId();
    MessageInfo info =
        new MessageInfo(id, DELETE_RECORD_SIZE, id.getAccountId(), id.getContainerId(), time.milliseconds());
    try {
      store.delete(Arrays.asList(info, info));
      fail("Store DELETE should have failed");
    } catch (IllegalArgumentException e) {
      // expected. Nothing to do.
    }
  }
Tests error cases for {@link BlobStore#delete(List)} )}.
@throws StoreException
ambry-store/src/test/java/com/github/ambry/store/BlobStoreTest.java