public void Analyze_IfPasswordContainsWrongChars_ThrowException(string password)
 {
     Assert.Throws <ArgumentException>(() =>
     {
         PasswordAnalyzer.Analyze(password);
     });
 }
 public void EmptyPassword_ShouldReturn_ZeroStrength()
 {
     Assert.AreEqual(0, PasswordAnalyzer.Analyze(""));
 }
 public void Analyze_ShouldCalculate_CorrectPasswordStrengthForLongPasswords(string password, int expectedStrength)
 {
     Assert.AreEqual(expectedStrength, PasswordAnalyzer.Analyze(password));
 }