AsyncEvent { public Throwable getThrowable() { return throwable; } AsyncEvent(AsyncContext context);  AsyncEvent(AsyncContext context, ServletRequest suppliedRequest, ServletResponse suppliedResponse);  AsyncEvent(AsyncContext context, Throwable throwable);  AsyncEvent(AsyncContext context, ServletRequest suppliedRequest, ServletResponse suppliedResponse, Throwable throwable); AsyncContext getAsyncContext(); ServletRequest getSuppliedRequest(); ServletResponse getSuppliedResponse(); Throwable getThrowable();  }
@Test void testGetThrowable() { AsyncEvent event = new AsyncEvent(new TestAsyncContext(null, null), new RuntimeException()); assertNotNull(event.getThrowable()); }