@Test
public void testGetNamedDispatcher() {

    RequestDispatcher is = createMock(RequestDispatcher.class);
    expect(servletContext.getNamedDispatcher("whatever")).andReturn(is);
    replay(servletContext, config, is);
    ServletContextAdapter adapter = new ServletContextAdapter(config);
    assertEquals(is, adapter.getNamedDispatcher("whatever"));
    verify(is);
}