public void TestStrings()
        {
            var values = new[]
            {
                new ConfigPathHelper{ Name="item1", Path="path1 path3  path4\tpath5\rpath6\n\rpath7"},
                new ConfigPathHelper{ Name="item2", Path="path2"},
            };

            var config = CreateConfig(values);
            var lookup = config.ToLookup();

            Assert.Equal(2, lookup.Count);
            Assert.Equal(new[] { "path1", "path3", "path4", "path5", "path6", "path7" }, lookup["item1"]);
            Assert.Equal(new[] { "path2" }, lookup["item2"]);
        }
        public void ScriptStylesParse()
        {
            var values = new[]
            {
                new ConfigPathHelper{ Name="item1", Path="path1 path3  path4"},
                new ConfigPathHelper{ Name="item2", Path="path2"},
            };

            var config = Substitute.For<IConfiguration>();
            var scriptsConfigSection = CreateConfigSection(values);
            config.GetSection("Scripts").Returns(scriptsConfigSection);

            var cdnConfig = new ContentDeliveryNetworkConfiguration(config);

            Assert.Equal(2, cdnConfig.Scripts.Count);
            Assert.Equal(new[] { "path1", "path3", "path4" }, cdnConfig.Scripts["item1"]);
            Assert.Equal(new[] { "path2" }, cdnConfig.Scripts["item2"]);
        }