@Test
  public void misbehavingIdConverterTest() throws Exception {
    FrontendTestIdConverterFactory converterFactory = new FrontendTestIdConverterFactory();
    String exceptionMsg = TestUtils.getRandomString(10);
    converterFactory.exceptionToThrow = new IllegalStateException(exceptionMsg);
    doIdConverterExceptionTest(converterFactory, exceptionMsg);
  }
Tests for cases where the {@link IdConverter} misbehaves and throws {@link RuntimeException}.
@throws InstantiationException
@throws JSONException
ambry-frontend/src/test/java/com/github/ambry/frontend/FrontendRestRequestServiceTest.java