@Test public void testUnhandledServletExceptionWithTelemetryClientThatThrows() throws IllegalAccessException, NoSuchFieldException, ServletException { FilterAndTelemetryClientMock createdData = createInitializedFilterWithTelemetryClientThatThrows(); testException(createdData, new ServletException()); }
@Test public void testUnhandledRuntimeExceptionWithoutTelemetryClient() throws IllegalAccessException, NoSuchFieldException, ServletException { FilterAndTelemetryClientMock createdData = createInitializedFilterWithoutTelemetryClient(); testException(createdData, new RuntimeException()); }
@Test public void testUnhandledServletExceptionWithTelemetryClient() throws IllegalAccessException, NoSuchFieldException, ServletException { FilterAndTelemetryClientMock createdData = createInitializedFilterWithTelemetryClient(); testException(createdData, new ServletException()); }
@Test public void testUnhandledRuntimeExceptionWithTelemetryClient() throws IllegalAccessException, NoSuchFieldException, ServletException { FilterAndTelemetryClientMock createdData = createInitializedFilterWithTelemetryClient(); testException(createdData, new java.lang.IllegalArgumentException()); }
@Test public void testUnhandledServletExceptionWithoutTelemetryClient() throws IllegalAccessException, NoSuchFieldException, ServletException { FilterAndTelemetryClientMock createdData = createInitializedFilterWithoutTelemetryClient(); testException(createdData, new ServletException()); }
@Test public void testUnhandledIOExceptionWithTelemetryClientThatThrows() throws IllegalAccessException, NoSuchFieldException, ServletException { FilterAndTelemetryClientMock createdData = createInitializedFilterWithTelemetryClientThatThrows(); testException(createdData, new IOException()); }
@Test public void testUnhandledRuntimeExceptionWithTelemetryClientThatThrows() throws IllegalAccessException, NoSuchFieldException, ServletException { FilterAndTelemetryClientMock createdData = createInitializedFilterWithTelemetryClientThatThrows(); testException(createdData, new RuntimeException()); }
@Test public void testUnhandledIOExceptionWithTelemetryClient() throws IllegalAccessException, NoSuchFieldException, ServletException { FilterAndTelemetryClientMock createdData = createInitializedFilterWithTelemetryClient(); testException(createdData, new IOException()); }
@Test public void testUnhandledIOExceptionWithoutTelemetryClient() throws IllegalAccessException, NoSuchFieldException, ServletException { FilterAndTelemetryClientMock createdData = createInitializedFilterWithoutTelemetryClient(); testException(createdData, new IOException()); }