@Test
    void verifyPasswordlessToken() throws Throwable {
        val context = MockRequestContext.create(applicationContext);
        context.setParameter("selection", AcceptPasswordlessSelectionMenuAction.PasswordlessSelectionMenu.TOKEN.name());
        val account = PasswordlessUserAccount.builder()
            .username("casuser")
            .name("casuser")
            .allowSelectionMenu(true)
            .build();
        PasswordlessWebflowUtils.putPasswordlessAuthenticationAccount(context, account);
        assertEquals(CasWebflowConstants.TRANSITION_ID_DISPLAY, acceptAction.execute(context).getId());
    }
This is {@link AcceptPasswordlessSelectionMenuActionTests}.

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