public void DictionaryValueProvider_undefined_token_returns_null()
        {
            var dictionary = new Dictionary<string, string>
                {
                    {"key", "value"}
                };

            var valueProvider = new DictionaryValueProvider(dictionary);

            var value = valueProvider.ProvideValue("key2");

            value.Should().BeNull();
        }
Esempio n. 2
0
        public void DictionaryValueProvider_undefined_token_returns_null()
        {
            var dictionary = new Dictionary <string, string>
            {
                { "key", "value" }
            };

            var valueProvider = new DictionaryValueProvider(dictionary);

            var value = valueProvider.ProvideValue("key2");

            value.Should().BeNull();
        }