@Test
void provide_test() throws Exception {

    target = new CertFileTrustAnchorsProvider();
    Path path = Paths.get(ClassLoader.getSystemResource("com/webauthn4j/anchor/CertFileTrustAnchorsProviderTest/test.crt").toURI());
    target.setCertificates(Collections.singletonList(path));
    Map<AAGUID, Set<TrustAnchor>> trustAnchors = target.provide();
    assertThat(trustAnchors.keySet()).containsExactly(AAGUID.NULL);
    assertThat(trustAnchors).isNotEmpty();
}