@Test
public void testGetCurrentSessionIdNoAuthenticatedUser() {

    LOG.info("testGetCurrentSessionIdNoAuthenticatedUser");
    Mockito.when(httpServletRequest.getSession(false)).thenReturn(httpSession);
    // Check that the returned session ID matches the reference session ID.
    assertThat(impl.getCurrentSessionId(), is(REFERENCE_SESSION_ID));
    verify(httpServletRequest).getSession(false);
}