public void TestToText() { IDictionary <string, object> dict = new Dictionary <string, object>(); dict.Add("bob", "robert"); dict.Add("mike", "michael"); Assert.AreEqual("{bob => \"robert\", mike => \"michael\"}", dict.ToText()); }