@Test
void createPKIXParameters_test() {

    HashSet<TrustAnchor> trustAnchors = new HashSet<>();
    trustAnchors.add(new TrustAnchor(mock(X509Certificate.class), null));
    PKIXParameters pkixParameters = CertificateUtil.createPKIXParameters(trustAnchors);
    assertThat(pkixParameters).isNotNull();
}