@Test
    void verifyOperation() throws Throwable {
        val map = MAPPER.readValue(casProperties.getAuthn().getMfa().getWebAuthn().getCore()
            .getTrustSource().getTrustedDeviceMetadata().getLocation().getInputStream(), Map.class);
        val cert = CertUtils.readCertificate(new ByteArrayInputStream(((SequencedCollection) map.get("trustedCertificates")).getFirst()
            .toString().getBytes(StandardCharsets.UTF_8)));

        val result = webAuthnMetadataService.findTrustRoots(List.of(cert), Optional.empty());
        assertFalse(result.getTrustRoots().isEmpty());
    }
This is {@link CompositeAttestationTrustSourceTests}.

@author Misagh Moayyed
@since 7.0.0
support/cas-server-support-webauthn/src/test/java/org/apereo/cas/webauthn/metadata/CompositeAttestationTrustSourceTests.java