Beispiel #1
0
        public void Should_throw_an_exception()
        {
            var message = new MessageWithMissingData
            {
                Secret = new WireEncryptedString {
                    Value = "The real value"
                }
            };

            Assert.Throws <InvalidOperationException>(() => mutator.MutateIncoming(message));
        }
        public void Should_throw_an_exception()
        {
            var message = new MessageWithMissingData
                {
                    Secret = new WireEncryptedString {Value = "The real value"}
                };

            Assert.Throws<InvalidOperationException>(() => mutator.MutateIncoming(message));
        }