@Test
void header() {

    sessionManager.header("SessionId");
    ActionLog actionLog = new ActionLog(null, null);
    String sessionId = UUID.randomUUID().toString();
    store.save(sessionId, "localhost", Map.of("key", "value"), Set.of(), Duration.ofMinutes(30));
    when(request.scheme()).thenReturn("https");
    when(request.header("SessionId")).thenReturn(Optional.of(sessionId));
    Session session = sessionManager.load(request, actionLog);
    assertThat(session).isNotNull();
    assertThat(session.get("key")).isNotNull().hasValue("value");
    assertThat(actionLog.context.get("session_hash")).isNotEmpty();
}