public void ContainsKey_searches_predicates_by_subject()
        {
            var g = new Graph();

            g.LoadFromString(@"
<urn:s> <urn:p> <urn:o> .
");

            var s = "urn:s";
            var p = "urn:p";
            var o = "urn:o";
            var d = new DynamicNode(g.CreateUriNode(UriFactory.Create(s)));

            Assert.False(d.ContainsKey(s));
            Assert.True(d.ContainsKey(p));
            Assert.False(d.ContainsKey(o));
        }
        public void ContainsKey_rejects_missing_key()
        {
            var g = new Graph();
            var s = g.CreateBlankNode();
            var d = new DynamicNode(s);

            Assert.False(d.ContainsKey(null as string));
        }