@Test
public void testCreateSecurityContextForSessionNoCurrentSession() {

    LOG.info("testCreateSecurityContextForSessionNoCurrentSession");
    Mockito.when(httpServletRequest.getSession(false)).thenReturn(null);
    assertThat(SessionManager.createSecurityContextForSession(httpServletRequest), is(nullValue()));
    verify(httpServletRequest).getSession(false);
}