@Test
void testInclude2() throws Exception {

    TestWebApplicationRequest request = new TestWebApplicationRequest();
    TestWebApplicationResponse response = new TestWebApplicationResponse();
    DefaultWebApplication webApp = new DefaultWebApplication();
    webApp.addServlet("Echo2", TestEcho2Servlet.class);
    webApp.initialize();
    webApp.start();
    webApp.linkRequestAndResponse(request, response);
    RequestDispatcher dispatcher = webApp.getNamedDispatcher("Echo2");
    dispatcher.include(request, response);
    response.flushBuffer();
    String responseText = new String(response.getResponseBytes());
    webApp.unlinkRequestAndResponse(request, response);
    webApp.stop();
    assertTrue(responseText.contains("ECHO"));
}