@Test
public void testGetContext() {

    ServletContext otherContext = createMock(ServletContext.class);
    expect(servletContext.getContext("whatever")).andReturn(otherContext);
    replay(servletContext, config, otherContext);
    ServletContextAdapter adapter = new ServletContextAdapter(config);
    assertEquals(otherContext, adapter.getContext("whatever"));
    verify(otherContext);
}