@Test
void invalidateByKey() {

    localSessionStore.values.put("session1", sessionValue(Instant.now().minus(Duration.ofSeconds(30)), Map.of("key", "v1")));
    localSessionStore.values.put("session2", sessionValue(Instant.now().minus(Duration.ofSeconds(30)), Map.of("key", "v1")));
    localSessionStore.values.put("session3", sessionValue(Instant.now().minus(Duration.ofSeconds(30)), Map.of("key", "v2")));
    localSessionStore.invalidateByKey("key", "v1");
    assertThat(localSessionStore.values).containsOnlyKeys("session3");
}