@Test
    void verifyAction() throws Throwable {
        val props = casProperties.getAuthn().getPasswordless().getAccounts().getRest();
        val port = URI.create(props.getUrl()).getPort();
        val u = PasswordlessUserAccount.builder()
            .email("casuser@example.org")
            .phone("1234567890")
            .username("casuser")
            .name("casuser")
            .attributes(Map.of("lastName", List.of("Smith")))
            .build();
        val data = MAPPER.writeValueAsString(u);
        try (val webServer = new MockWebServer(port,
            new ByteArrayResource(data.getBytes(StandardCharsets.UTF_8), "REST Output"), MediaType.APPLICATION_JSON_VALUE)) {
            webServer.start();
            val user = passwordlessUserAccountStore.findUser(PasswordlessAuthenticationRequest
                .builder()
                .username("casuser")
                .build());
            assertTrue(user.isPresent());
        }
    }
This is {@link RestfulPasswordlessUserAccountStoreTests}.

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