public void Then_the_dictionary_that_is_created_should_be_case_sensitive()
            {
                var dict = DictionaryExtensions.AnonymousObjectToCaseSensitiveDictionary(new { Foo = "Bar" });

                Assert.That(dict.ContainsKey("Foo"));
                Assert.That(!dict.ContainsKey("foo"));
            }
            public void And_the_object_is_null_then_an_empty_dictionary_should_be_returned()
            {
                var dict = DictionaryExtensions.AnonymousObjectToCaseSensitiveDictionary(null);

                Assert.That(dict, Is.Not.Null);
                Assert.That(dict.Count, Is.EqualTo(0));
            }
            public void Then_a_dictionary_should_be_created_containing_the_properties_of_the_object()
            {
                var dict = DictionaryExtensions.AnonymousObjectToCaseSensitiveDictionary(new { Foo = "Bar", Baz = 1 });

                Assert.That(dict.Count, Is.EqualTo(2));
                Assert.That(dict["Foo"], Is.EqualTo("Bar"));
                Assert.That(dict["Baz"], Is.EqualTo(1));
            }