public void GeneratePassword()
        {
            var generator = new PasswordGenerator();
            string password = generator.Next();
            Console.WriteLine(password);

            Assert.That(password.Length == generator.Length);
        }
 public static string Generate(int length, int requiredSpecialChars)
 {
     var generator = new PasswordGenerator(length, requiredSpecialChars);
     return generator.Next();
 }
        public static string Generate(int length, int requiredSpecialChars)
        {
            var generator = new PasswordGenerator(length, requiredSpecialChars);

            return(generator.Next());
        }