public void testDoForwardInclude() throws ServletException, IOException {
RequestDispatcher rd = createMock(RequestDispatcher.class);
expect(response.isCommitted()).andReturn(true);
expect(request.getRequestDispatcher("/my/path")).andReturn(rd);
rd.include(request, response);
replay(applicationContext, request, response, rd);
req.doForward("/my/path");
verify(applicationContext, request, response, rd);
}