@Test
    void verifyOperation() throws Exception {
        val requestContext = MockRequestContext.create(applicationContext);
        webAuthnSessionTerminationHandler.beforeSessionTermination(requestContext);
        val cookies = requestContext.getHttpServletResponse().getCookies();
        assertEquals(1, cookies.length);
        val cookie = requestContext.getHttpServletResponse().getCookie("XSRF-TOKEN");
        assertNotNull(cookie);
        assertEquals(0, cookie.getMaxAge());
    }
This is {@link WebAuthnSessionTerminationHandlerTests}.

@author Misagh Moayyed
@since 7.2.0
support/cas-server-support-webauthn/src/test/java/org/apereo/cas/webauthn/web/WebAuthnSessionTerminationHandlerTests.java