Example #1
0
        public void can_get_value_without_default_from_statebag()
        {
            var dictionary = new StateBag {
                { "question", "what is it" }
            };

            var value = dictionary.GetValue <string>("question");

            Expect(value, Is.EqualTo("what is it"));
        }