@Test
public void testGetSessionNoSessionId() {

  RequestWithSession request = mock(RequestWithSession.class);
  RepositoryBackedSession retrievedSession = sessionManager.getSession(request, false, null);
  verify(request).setRequestedSessionId(null, false);
  assertNull("Session id shouldn't be in logging MDC", MDC.get(configuration.getLoggingMdcKey()));
  assertNull(retrievedSession);
}