Exemplo n.º 1
0
        public PasswordManagerTests()
        {
            _passwordRegistry = Substitute.For <IPasswordRegistry>();
            _passwordReader   = Substitute.For <IPasswordReader>();

            _secureString = new SecureString();

            _passwordManager = new PasswordManager(_passwordReader, _passwordRegistry);
        }
Exemplo n.º 2
0
 public PasswordManager(IPasswordReader passwordReader, IPasswordRegistry passwordRegistry)
 {
     _passwordReader   = passwordReader;
     _passwordRegistry = passwordRegistry;
 }