public void SuccessfullyRemoveElement() { var settingElement = new SettingElement("TestElementName", SettingsSerializeAs.String); var collection = new SettingElementCollection(); collection.Add(settingElement); collection.Remove(settingElement); var retrievedElement = collection.Get("TestElementName"); Assert.Null(retrievedElement); }