private void idConverterFailureTest() throws Exception {
    setupBlob();
    String msg = "@@id-converter-expected@@";
    idConverterFactory.exceptionToReturn = new IllegalStateException(msg);
    verifyFailureWithMsg(msg);
    idConverterFactory.exceptionToReturn = null;
    idConverterFactory.exceptionToThrow = new IllegalStateException(msg);
    verifyFailureWithMsg(msg);
    idConverterFactory.exceptionToThrow = null;
  }
Tests the case where the {@link IdConverter} fails or returns an exception.
@throws Exception
ambry-frontend/src/test/java/com/github/ambry/frontend/UndeleteHandlerTest.java