@Test(expected = IOException.class)
public void testDoIncludeException() throws ServletException, IOException {

    context.include("/my/path", false);
    expectLastCall().andThrow(new ServletException());
    replay(context, enclosedRequest);
    request.doInclude("/my/path");
    verify(context, enclosedRequest);
}