@Test
public void constructor_test() {

    Resource resource = new ClassPathResource("com/webauthn4j/springframework/security/anchor/KeyStoreResourceTrustAnchorProviderImplTest/test.jks");
    KeyStoreResourceTrustAnchorProvider target = new KeyStoreResourceTrustAnchorProvider(resource);
    target.setPassword("password");
    Map<AAGUID, Set<TrustAnchor>> trustAnchors = target.provide();
    assertThat(trustAnchors).isNotEmpty();
}