KeyStoreResourceTrustAnchorProvider extends CachingTrustAnchorsProviderBase implements InitializingBean { @Override public void afterPropertiesSet() { checkConfig(); } KeyStoreResourceTrustAnchorProvider();  KeyStoreResourceTrustAnchorProvider(Resource keyStore); @Override void afterPropertiesSet(); Resource getKeyStore(); void setKeyStore(Resource keyStore); String getPassword(); void setPassword(String password);  }
@Test(expected = IllegalArgumentException.class) public void afterPropertiesSet_with_invalid_config_test() { target = new KeyStoreResourceTrustAnchorProvider(); target.afterPropertiesSet(); }