public void Remove_CollectionWithSingleElement_CollectionShouldBeEmpty()
{
using (var listBox = new FwListBox())
{
using (var collection = new FwListBox.ObjectCollection(listBox))
{
ITsString testString = TsStringHelper.MakeTSS("test", m_hvoEnglishWs);
collection.Add(testString);
// The Test
collection.Remove(testString);
Assert.AreEqual(0, collection.Count);
Assert.IsFalse(collection.Contains(testString));
}
}
}