@Test
    void verifyAction() throws Throwable {
        passwordlessUserAccountStore.reload();
        val user = passwordlessUserAccountStore.findUser(PasswordlessAuthenticationRequest
            .builder()
            .username("casuser")
            .build());
        assertTrue(user.isPresent());

        val userAccount = user.get();
        assertTrue(userAccount.isRequestPassword());
        assertSame(TriStateBoolean.TRUE, userAccount.getMultifactorAuthenticationEligible());
        assertEquals(List.of("CasClient"), userAccount.getAllowedDelegatedClients());
        assertEquals(List.of("Smith", "Smithson"), userAccount.getAttributes().get("lastName"));
    }
This is {@link GroovyPasswordlessUserAccountCustomizerTests}.

@author Misagh Moayyed
@since 7.2.0
support/cas-server-support-passwordless-authentication/src/test/java/org/apereo/cas/impl/account/GroovyPasswordlessUserAccountCustomizerTests.java