public void TestEncryption() { var encrypt = new Encryption { CurrentDbInstance = DbBaseClass.FNSBA, Value = "This is a test" }; Assert.IsTrue(encrypt.Execute(), encrypt.LastError); Assert.IsTrue(encrypt.Encrypt != ""); Console.WriteLine(encrypt.Encrypt); var decrypt = new Decryption { CurrentDbInstance = DbBaseClass.FNSBA, Value = encrypt.Encrypt }; Assert.IsTrue(decrypt.Execute(), decrypt.LastError); Assert.IsTrue(decrypt.Encrypt != ""); Console.WriteLine(decrypt.Encrypt); }