@Test
public void testGetMajorVersion() {

    expect(servletContext.getMajorVersion()).andReturn(2);
    replay(servletContext, config);
    ServletContextAdapter adapter = new ServletContextAdapter(config);
    assertEquals(2, adapter.getMajorVersion());
}