public void GetExcludedMediaLibraries_Returns_Trimmed_Name()
        {
            var stagingConfigurationSettingsOptions = OptionsFactory.CreateOptions <StagingConfigurationSettings>(AppConfigFileName.Untrimmed);
            var appSettingsRepository  = new AppSettingsRepository(stagingConfigurationSettingsOptions);
            var excludedMediaLibraries = appSettingsRepository.GetExcludedMediaLibraries();

            Assert.AreEqual("emailimages", excludedMediaLibraries.FirstOrDefault());
        }
        public void GetExcludedMediaLibraries_Returns_Expected_List_Count(string configFileName, int expectedCount)
        {
            var stagingConfigurationSettingsOptions = OptionsFactory.CreateOptions <StagingConfigurationSettings>(configFileName);
            var appSettingsRepository  = new AppSettingsRepository(stagingConfigurationSettingsOptions);
            var excludedMediaLibraries = appSettingsRepository.GetExcludedMediaLibraries();

            Assert.AreEqual(expectedCount, excludedMediaLibraries.Count);
        }