public void TestToString() { PropertyBag pb = new PropertyBag(); pb["Test"].Value = "test"; Assert.AreEqual( pb.ToString(), "[PropertyBag: [Property Test:test]]" ); }