@Test
  public void duplicateBlobIdsTest() throws RouterException {
    blobIds.add(blobIds.get(1));
    try {
      ttlUpdateManager.submitTtlUpdateOperation(blobIds.get(0), blobIds.subList(1, blobIds.size()), UPDATE_SERVICE_ID,
          Utils.Infinite_Time, new FutureResult<>(), new TestCallback<>(), quotaChargeCallback);
      fail("Should have failed to submit operation because the provided blob id list contains duplicates");
    } catch (IllegalArgumentException e) {
      // expected. Nothing to do.
    }
  }
Checks that operations with duplicate blob Ids are rejected
@throws RouterException
ambry-router/src/test/java/com/github/ambry/router/TtlUpdateManagerTest.java