private void assertLoadIsFound() throws Exception {
        val props = casProperties.getAuthn().getMfa().getWebAuthn().getRest();
        val port = URI.create(props.getUrl()).getPort();
        val records = getCredentialRegistration("casuser");
        val results = cipherExecutor.encode(WebAuthnUtils.getObjectMapper()
            .writeValueAsString(CollectionUtils.wrapList(records)));
        try (val webServer = new MockWebServer(port,
            new ByteArrayResource(results.getBytes(StandardCharsets.UTF_8), "REST Output"), HttpStatus.OK)) {
            webServer.start();
            val registration = webAuthnCredentialRepository.getRegistrationsByUserHandle(records.getUserIdentity().getId());
            assertFalse(registration.isEmpty());
        }
    }
This is {@link RestfulWebAuthnCredentialRepositoryTests}.

@author Misagh Moayyed
@since 6.4.0
support/cas-server-support-webauthn-rest/src/test/java/org/apereo/cas/webauthn/RestfulWebAuthnCredentialRepositoryTests.java