@Test
void testForward4() throws Exception {

    TestWebApplicationRequest request = new TestWebApplicationRequest();
    TestWebApplicationResponse response = new TestWebApplicationResponse();
    DefaultWebApplication webApp = new DefaultWebApplication();
    webApp.setWebApplicationRequestMapper(new DefaultWebApplicationRequestMapper());
    webApp.addServlet("Runtime", TestRuntimeExceptionServlet.class);
    webApp.addServletMapping("Runtime", "/Runtime");
    webApp.initialize();
    webApp.start();
    RequestDispatcher dispatcher = webApp.getRequestDispatcher("/Runtime");
    assertThrows(RuntimeException.class, () -> dispatcher.forward(request, response));
}