@Test
    void verifyOperation() throws Throwable {
        val store = new BrowserWebStorageSessionStore(webflowCipherExecutor, "ContextKey");
        val request = new MockHttpServletRequest();
        val ctx = new JEEContext(request, new MockHttpServletResponse());
        store.set(ctx, "key1", "value1");
        store.set(ctx, "key2", List.of("HelloWorld"));
        store.set(ctx, "key3", 1234567);
        store.set(ctx, "dummy", new Dummy());
        val session = store.getTrackableSession(ctx);
        assertTrue(session.isPresent());
        store.renewSession(ctx);
        val storage = (BrowserStorage) session.get();
        store.buildFromTrackableSession(ctx, MAPPER.writeValueAsString(Map.of(storage.getContext(), storage.getPayload())));
        assertTrue(store.get(ctx, "key1").isPresent());
        assertTrue(store.get(ctx, "key2").isPresent());
        assertTrue(store.get(ctx, "key3").isPresent());
        assertTrue(store.get(ctx, "dummy").isPresent());
    }
This is {@link BrowserWebStorageSessionStoreTests}.

@author Misagh Moayyed
@since 6.4.0
support/cas-server-support-pac4j-api/src/test/java/org/apereo/cas/integration/pac4j/BrowserWebStorageSessionStoreTests.java