예제 #1
0
        public void ContainsKey_returns_false_for_undefined_property(string name)
        {
            var rvm     = new Rv.Message();
            var headers = new ReadOnlyRvMessageHeaders(rvm);

            Assert.IsFalse(headers.ContainsKey(name));
        }
예제 #2
0
        public void ContainsKey_returns_true_for_defined_int_property(string name, int value)
        {
            var rvm = new Rv.Message();

            rvm.AddField(name, value);
            var headers = new ReadOnlyRvMessageHeaders(rvm);

            Assert.IsTrue(headers.ContainsKey(name));
        }