public void KeyPropertyTest() { ObjectName target = new ObjectName("domain:a=1,b=2,c=3"); Assert.AreEqual("1", target.GetKeyProperty("a")); Assert.AreEqual("2", target.GetKeyProperty("b")); Assert.AreEqual("3", target.GetKeyProperty("c")); Assert.AreEqual(null, target.GetKeyProperty("d")); }