@Test(expected = IllegalArgumentException.class)
public void afterPropertiesSet_test() {

    CertFileResourcesTrustAnchorsProvider trustAnchorProvider = new CertFileResourcesTrustAnchorsProvider();
    trustAnchorProvider.afterPropertiesSet();
}