public void get_bool_from_hashtable_when_default_is_provided()
        {
            var table = new Hashtable { { "app id", "true" } };

            var value = table.GetOrDefault("app id", false);

            Expect(value, Is.True);
        }
        public void can_get_default_string_from_hashtable()
        {
            var table = new Hashtable { { "app id", "abc123" } };

            var value = table.GetOrDefault("cat id", "Frank");

            Expect(value, Is.EqualTo("Frank"));
        }
        public void can_get_default_bool_from_hashtable()
        {
            var value = true;
            var table = new Hashtable { { "app id", "abc123" } };

            value = table.GetOrDefault("Allow Windows Live Writer", value);

            Expect(value, Is.True);
        }
        public void get_string_from_hashtable_when_default_is_provided()
        {
            var table = new Hashtable { { "app id", "abc123" } };

            var value = table.GetOrDefault("app id", "abracadabra");

            Expect(value, Is.EqualTo("abc123"));
        }