public void ReadSessionStateSettingsWithLocationSimpleSettingsReturnsAllWithValues() { var style = ParametersGenerationStyle.Clone; var simpleSettings = WebConfigSample.GetSimpleSessionStateSettings(style); var locationSimpleSettings = WebConfigSample.GetLocationSimpleSettings(); var results = WebConfigSettingsReader.ReadSessionStateSettings(locationSimpleSettings.Document, style); simpleSettings.ExpectedSettings.AssertHasSameItems(results); }
public void ReadMailSettingsWithLocationSimpleSettingsReturnsAllTokenized() { var style = ParametersGenerationStyle.Tokenize; var simpleSettings = WebConfigSample.GetSimpleMailSettings(style); var locationSimpleSettings = WebConfigSample.GetLocationSimpleSettings(); var results = WebConfigSettingsReader.ReadMailSettings(locationSimpleSettings.Document, style); simpleSettings.ExpectedSettings.AssertHasSameItems(results); }