protected override void Arrange() { base.Arrange(); AppSettingsSection AppSettings = new AppSettingsSection(); AppSettings.Settings.Add(new KeyValueConfigurationElement("Setting1", "Value1")); AppSettings.Settings.Add(new KeyValueConfigurationElement("Setting2", "Value2")); settings = new MockAppSettingsViewModel(Container, "appSettings", AppSettings); settings.ElementViewModelServiceDependencies(Container.Resolve<ElementLookup>(), Container.Resolve<IApplicationModel>()); }
protected override void Arrange() { base.Arrange(); AppSettingsSection AppSettings = new AppSettingsSection(); AppSettings.Settings.Add(new KeyValueConfigurationElement("Setting1", "Value1")); AppSettings.Settings.Add(new KeyValueConfigurationElement("Setting2", "Value2")); settings = new MockAppSettingsViewModel(Container, "appSettings", AppSettings); settings.ElementViewModelServiceDependencies(Container.Resolve <ElementLookup>(), Container.Resolve <IApplicationModel>()); }