public void Add()
{
JsonObject o = new JsonObject();
o.Add("foo", "bar");
Assert.AreEqual("bar", o["foo"]);
ICollection names = o.Names;
Assert.AreEqual(1, names.Count);
Assert.AreEqual(new string[] { "foo" }, CollectionHelper.ToArray(names, typeof(string)));
}