@Test
    void verifyFailsAction() throws Throwable {
        val props = casProperties.getAuthn().getPasswordless().getAccounts().getRest();
        val port = URI.create(props.getUrl()).getPort();
        try (val webServer = new MockWebServer(port,
            new ByteArrayResource("###".getBytes(StandardCharsets.UTF_8), "REST Output"), MediaType.APPLICATION_JSON_VALUE)) {
            webServer.start();
            val user = passwordlessUserAccountStore.findUser(
                PasswordlessAuthenticationRequest
                    .builder()
                    .username("casuser")
                    .build());
            assertTrue(user.isEmpty());
        }
    }
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