public void ClearTest() { const string key = "Key"; IList <object> values = new List <object>(); var target = new KeyModel(key); Assert.IsNotNull(target); string value = "Value"; KeyModel actual = target.Add(value); Assert.IsNotNull(actual); Assert.IsTrue(actual.Values.Any()); target.Clear(); Assert.IsFalse(target.Values.Any()); }