示例#1
0
        public void Should_decrypt_correctly()
        {
            var message = new SecureMessageWithProtectedSetter(Create());

            mutator.MutateIncoming(message);

            Assert.AreEqual(message.Secret.Value, MySecretMessage);
        }
        public void Should_decrypt_correctly()
        {
            var message = new SecureMessageWithProtectedSetter(FakeEncryptedString);

            mutator.MutateIncoming(message);

            Assert.AreEqual(message.Secret.Value, "A secret");
        }
        public void Should_decrypt_correctly()
        {
            var message = new SecureMessageWithProtectedSetter(Create());
            mutator.MutateIncoming(message);

            Assert.AreEqual(message.Secret.Value, MySecretMessage);
        }