public void Test_Remove_Empty() { string group = "TestGroup"; StateCollection <string> collection = StateCollection <string> .Current(StateScope.Application, group); collection.Remove("Test"); }
public void Test_Current() { string group = "TestGroup"; StateCollection <string> collection = StateCollection <string> .Current(StateScope.Application, group); string one = "One"; string two = "Two"; collection.Add(one); collection.Add(two); StateCollection <string> foundCollection = StateCollection <string> .Current(StateScope.Application, group); Assert.AreEqual(collection.Count, foundCollection.Count); }