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

ContainsNonExistingViaGenericCollection() private method

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