public void IsSet() { DataValueCollection <string> collection = new DataValueCollection <string>(); collection.Set("Name", "Bob"); collection.Set("Age", 25); Assert.IsTrue(collection.IsSet("Name")); Assert.IsTrue(collection.IsSet("Age")); }