@Test
public void testCreateServletJspRequest() {

    ApplicationContext applicationContext = createMock(ApplicationContext.class);
    HttpServletRequest servletRequest = createMock(HttpServletRequest.class);
    HttpServletResponse servletResponse = createMock(HttpServletResponse.class);
    expect(context.getRequest()).andReturn(servletRequest);
    expect(context.getResponse()).andReturn(servletResponse);
    replay(context, applicationContext, servletRequest, servletResponse);
    JspRequest request = JspRequest.createServletJspRequest(applicationContext, context);
    ServletRequest wrappedRequest = (ServletRequest) request.getWrappedRequest();
    assertEquals(servletRequest, wrappedRequest.getRequest());
    assertEquals(servletResponse, wrappedRequest.getResponse());
    verify(context, applicationContext, servletRequest, servletResponse);
}