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