@Test
public void testGetAttribute() {

    expect(servletContext.getAttribute("whatever")).andReturn("value");
    replay(servletContext, config);
    ServletContextAdapter adapter = new ServletContextAdapter(config);
    assertEquals("value", adapter.getAttribute("whatever"));
}