public void Generic_KeyNotFound_ReturnsNull()
            {
                var key = "key";
                IDictionary <string, object> dictionary = new Dictionary <string, object>();
                var result = GSrkIDictionaryExtensions.GetValue(dictionary, key);

                Assert.IsNull(result);
            }
            public void Generic_NullValue()
            {
                object value = null;
                var    key   = "key";
                IDictionary <string, object> dictionary = new Dictionary <string, object>();

                dictionary.Add(key, value);
                var result = GSrkIDictionaryExtensions.GetValue(dictionary, key);

                Assert.IsNull(result);
            }
            public void Generic_ReturnsStoredValue()
            {
                var value = new object();
                var key   = "key";
                IDictionary <string, object> dictionary = new Dictionary <string, object>();

                dictionary.Add(key, value);
                var result = GSrkIDictionaryExtensions.GetValue(dictionary, key);

                Assert.AreSame(value, result);
            }