@Test
public void shouldCreateSessionWithCorrectContext() {

    HttpSessionImpl session = servletContext.createNewSession();
    assertThat(session, is(not(nullValue())));
    assertThat(session.getServletContext(), is((ServletContext) servletContext));
}