expectedExceptions = { ConfigException.class,
InitializationException.class })
public void testInitializeWithInvalidConfigs(Entry e)
throws Exception
{
SimilarityBasedPasswordValidatorCfg configuration =
AdminTestCaseUtils.getConfiguration(
SimilarityBasedPasswordValidatorCfgDefn.getInstance(),
e);
SimilarityBasedPasswordValidator validator = new SimilarityBasedPasswordValidator();