public void ConcurrentOrderedMap_TryGetValue_ReturnsTrueIfKeyExists()
        {
            const string key = "foo";

            var dict = new ConcurrentOrderedDictionary <string, string>();

            dict.Add(key, "bar");

            Assert.True(dict.TryGetValue(key, out var value));
        }
        public void ConcurrentOrderedMap_TryGetValue_ReturnsValueOutIfKeyExists()
        {
            const string key           = "foo";
            const string expectedValue = "bar";

            var dict = new ConcurrentOrderedDictionary <string, string>();

            dict.Add(key, expectedValue);

            dict.TryGetValue(key, out var value);
            Assert.Equal(expectedValue, value);
        }
        public void ConcurrentOrderedMap_TryGetValue_ReturnsFalseIfKeyDoesNotExist()
        {
            var dict = new ConcurrentOrderedDictionary <string, string>();

            Assert.False(dict.TryGetValue("foo", out var value));
        }