private MvcResult fetchAndStoreCsrfToken() throws Exception {
        var csrfResult = mvc.perform(get("/cas/actuator/info"))
            .andExpect(status().isOk())
            .andReturn();
        val csrfToken = getCsrfToken(csrfResult.getRequest());
        csrfTokenRepository.saveToken(csrfToken, csrfResult.getRequest(), csrfResult.getResponse());
        return csrfResult;
    }
This is {@link WebAuthnControllerMvcTests}.

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