Inheritance: ViewModelBase, ISettingsViewModel
        public void BindingModeIsSetInCtor()
        {
            var defaultConfig = GetDefaultConfig();
            var viewModel = new UnitTestSettingsViewModel(defaultConfig);

            Assert.AreEqual(defaultConfig.UserSettings.UnitTestSettings.BindingMode, viewModel.BindingMode);
        }
        public void SetDefaultsWorks()
        {
            var viewModel = new UnitTestSettingsViewModel(GetNondefaultConfig());

            var defaultConfig = GetDefaultConfig();
            viewModel.SetToDefaults(defaultConfig);

            MultiAssert.Aggregate(
                () => Assert.AreEqual(defaultConfig.UserSettings.UnitTestSettings.BindingMode, viewModel.BindingMode),
                () => Assert.AreEqual(defaultConfig.UserSettings.UnitTestSettings.AssertMode, viewModel.AssertMode),
                () => Assert.AreEqual(defaultConfig.UserSettings.UnitTestSettings.ModuleInit, viewModel.ModuleInit),
                () => Assert.AreEqual(defaultConfig.UserSettings.UnitTestSettings.MethodInit, viewModel.MethodInit),
                () => Assert.AreEqual(defaultConfig.UserSettings.UnitTestSettings.DefaultTestStubInNewModule, viewModel.DefaultTestStubInNewModule));
        }
        public void ModuleInitIsSetInCtor()
        {
            var defaultConfig = GetDefaultConfig();
            var viewModel = new UnitTestSettingsViewModel(defaultConfig);

            Assert.AreEqual(defaultConfig.UserSettings.UnitTestSettings.ModuleInit, viewModel.ModuleInit);
        }
        public void DefaultTestStubInNewModuleIsSetInCtor()
        {
            var defaultConfig = GetDefaultConfig();
            var viewModel = new UnitTestSettingsViewModel(defaultConfig);

            Assert.AreEqual(defaultConfig.UserSettings.UnitTestSettings.DefaultTestStubInNewModule, viewModel.DefaultTestStubInNewModule);
        }