public void RemoveItems() { try { for (int i = counter; i < (10000 + counter); i++) { ODDictionary.Remove("Key" + i); } } catch (Exception) { ExceptionThrown.Thrown = true; } }
public void Remove_StringKey_ReturnsTrue() { odDictionaryStringString.Add("Key", "Value"); bool removed = odDictionaryStringString.Remove("Key"); Assert.IsTrue(removed); }