@Test
    void verifyOperation() throws Throwable {
        val context = MockRequestContext.create(applicationContext);
        MultifactorAuthenticationWebflowUtils.putMultifactorAuthenticationProvider(context, webAuthnMultifactorAuthenticationProvider);

        WebUtils.putAuthentication(RegisteredServiceTestUtils.getAuthentication(), context);
        assertNotNull(webAuthnStartRegistrationAction);
        assertNull(webAuthnStartRegistrationAction.execute(context));
        assertTrue(context.getFlowScope().contains(WebAuthnStartRegistrationAction.FLOW_SCOPE_WEB_AUTHN_APPLICATION_ID));
        assertTrue(context.getFlowScope().contains("displayName"));

        val http = new HttpSecurity(mock(ObjectPostProcessor.class),
            new AuthenticationManagerBuilder(mock(ObjectPostProcessor.class)),
            Map.of(ApplicationContext.class, applicationContext));
        assertNotNull(webAuthnProtocolEndpointConfigurer.configure(http));
        assertNotNull(http.getConfigurer(CsrfConfigurer.class));
    }
This is {@link WebAuthnStartRegistrationActionTests}.

@author Misagh Moayyed
@since 6.3.0
support/cas-server-support-webauthn/src/test/java/org/apereo/cas/webauthn/web/flow/WebAuthnStartRegistrationActionTests.java