CertFileResourcesTrustAnchorsProvider extends CachingTrustAnchorsProviderBase implements InitializingBean { @Override public void afterPropertiesSet() { checkConfig(); } CertFileResourcesTrustAnchorsProvider();  CertFileResourcesTrustAnchorsProvider(List<Resource> certificates); @Override void afterPropertiesSet(); List<Resource> getCertificates(); void setCertificates(List<Resource> certificates);  }
@Test(expected = IllegalArgumentException.class) public void afterPropertiesSet_test() { CertFileResourcesTrustAnchorsProvider trustAnchorProvider = new CertFileResourcesTrustAnchorsProvider(); trustAnchorProvider.afterPropertiesSet(); }