public void Validate_CustomWordLists_PassValidation()
 {
   var settings = new PasswordValidationSettings();
   settings.CustomWordLists.Add("TestHelpers\\Files\\MyCustomWordList.txt");
   settings.CustomWordLists.Add("TestHelpers\\Files\\MyOtherCustomWordList.txt");
   var validator = new CustomWordListValidationHandler(settings);
   Assert.IsTrue(validator.Validate("ThisPasswordWorks"));
 }
 public void Validate_CustomWordLists_FailValidation()
 {
   var settings = new PasswordValidationSettings();
   settings.CustomWordLists.Add("TestHelpers\\Files\\MyCustomWordList.txt");
   settings.CustomWordLists.Add("TestHelpers\\Files\\MyOtherCustomWordList.txt");
   var validator = new CustomWordListValidationHandler(settings);
   Assert.IsFalse(validator.Validate("YetAnotherInvalidPassword"));
 }