コード例 #1
0
 public void SosOnlinePasswordIsStoredEncrypted()
 {
     var settings = new SirenOfShameSettings(useMef: false);
     Assert.IsNull(settings.SosOnlinePassword);
     settings.SetSosOnlinePassword("blah!");
     Assert.AreNotEqual("blah!", settings.SosOnlinePassword);
 }
コード例 #2
0
 public void SosOnlinePasswordDecryptsAsEncrypted()
 {
     var settings = new SirenOfShameSettings(useMef: false);
     settings.SetSosOnlinePassword("blah!");
     Assert.AreEqual("blah!", settings.GetSosOnlinePassword());
 }