public void Should_ignore_categoryName_when_generating_The_dictionary()
        {
            var cat = new WriteTestSection();

            var dict = cat.ToConfigDictionary();

            dict.Keys.Should().NotContain(x => x == "SectionName");
        }
        public void should_store_settings_with_dot_notation()
        {
            var expected = "World" + Guid.NewGuid().ToString("N");
            var category = new WriteTestSection();

            category.Properties["Hello"] = expected;

            var sut = new ConfigFileStore();

            sut.Store(category);
            var actual = ConfigurationManager.AppSettings[category.SectionName + ".Hello"];

            actual.Should().Be(expected);
        }