@Test
public void testGetApplicationContext() {

    Request wrappedRequest = createMockRequest();
    ApplicationContext applicationContext = createMock(ApplicationContext.class);
    expect(wrappedRequest.getApplicationContext()).andReturn(applicationContext);
    replay(wrappedRequest, applicationContext);
    RequestWrapper request = createRequestWrapper(wrappedRequest);
    assertEquals(applicationContext, request.getApplicationContext());
    verify(wrappedRequest, applicationContext);
}