Jayrock.Json.TestJsonObject.ContainsExistingKeyNonMatchingValueViaGenericCollection C# (CSharp) Method

ContainsExistingKeyNonMatchingValueViaGenericCollection() private method

        public void ContainsExistingKeyNonMatchingValueViaGenericCollection()
        {
            ICollection<KeyValuePair<string, object>> obj = new JsonObject();
            obj.Add(new KeyValuePair<string, object>("first", 123));
            Assert.IsFalse(obj.Contains(new KeyValuePair<string, object>("first", 456)));
        }
TestJsonObject