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"); }