private PasswordlessAuthenticationToken createToken() {
        val passwordlessUserAccount = PasswordlessUserAccount.builder().username("casuser").build();
        val passwordlessRequest = PasswordlessAuthenticationRequest.builder().username("casuser").build();
        val token = passwordlessTokenRepository.createToken(passwordlessUserAccount, passwordlessRequest);
        passwordlessTokenRepository.saveToken(passwordlessUserAccount, passwordlessRequest, token);
        return token;
    }
This is {@link AcceptPasswordlessAuthenticationActionTests}.

@author Misagh Moayyed
@since 6.2.0
support/cas-server-support-passwordless-webflow/src/test/java/org/apereo/cas/web/flow/AcceptPasswordlessAuthenticationActionTests.java