Example #1
0
        public void No_get_on_property()
        {
            var message = new TestMessageWithSets();
            message.Name = "John";

            var result = (TestMessageWithSets)mutator.MutateOutgoing(message);

            Assert.AreEqual("John", result.Name);
        }
Example #2
0
        public void No_get_on_property()
        {
            var message = new TestMessageWithSets();

            message.Name = "John";

            var result = (TestMessageWithSets)mutator.MutateOutgoing(message);

            Assert.AreEqual("John", result.Name);
        }
Example #3
0
        public void No_get_on_property()
        {
            var message = new TestMessageWithSets
            {
                Name = "John"
            };

            var result = inspector.ScanObject(message).ToList();

            Assert.AreEqual(0, result.Count);
        }
Example #4
0
        public void No_get_on_property()
        {
            var message = new TestMessageWithSets
            {
                Name = "John"
            };

            var result = inspector.ScanObject(message).ToList();

            Assert.AreEqual(0, result.Count);
        }