public void ConcurrentOrderedMap_ContainsKey_ReturnsTrueIfKeyExists() { const string expectedKey = "foo"; var dict = new ConcurrentOrderedDictionary <string, string>(); dict.Add(expectedKey, "bar"); Assert.True(dict.ContainsKey(expectedKey)); }
public void ConcurrentOrderedMap_ContainsKey_ReturnsFalseIfKeyDoesNotExist() { var dict = new ConcurrentOrderedDictionary <string, string>(); Assert.False(dict.ContainsKey("foo")); }