### Question:
SpringSecurityRequestAuthenticator extends RequestAuthenticator { @Override protected String changeHttpSessionId(boolean create) { HttpSession session = request.getSession(create); return session != null ? session.getId() : null; } SpringSecurityRequestAuthenticator(
            HttpFacade facade,
            HttpServletRequest request,
            KeycloakDeployment deployment,
            AdapterTokenStore tokenStore,
            int sslRedirectPort);   }### Answer:
@Test public void testGetHttpSessionIdTrue() throws Exception { String sessionId = authenticator.changeHttpSessionId(true); assertNotNull(sessionId); }
@Test public void testGetHttpSessionIdFalse() throws Exception { String sessionId = authenticator.changeHttpSessionId(false); assertNull(sessionId); }