public void RaiseOnCopyActionsDescriptionClick_SelectedOnCopyOptionDescriptionIsValid_CallsShowOnCopyAddDescription()
        {
            SetUp();
            ComboBoxOption option = new ComboBoxOption { Description = "dfgdfgdfgfd" };
            _viewModelMock.SetupGet(x => x.SelectedOnCopyOption).Returns(option);
            _viewMock.Setup(x => x.ShowOnCopyAddDescription(option.Description));

            _viewMock.Raise(x => x.OnBeforeViewShown += null);
            _viewMock.Raise(x => x.OnCopyActionsDescriptionClick += null);

            _viewMock.Verify(x => x.ShowOnCopyAddDescription(option.Description), Times.Once);
        }
        public virtual void Initialize()
        {
            Step2Settings settings = _settingsService.LoadSettings<Step2Settings>("Step2Settings");

            if (settings != null && settings.SaveSettings)
            {
                _pathTo = settings.PathTo;
                _selectedOnCopyOption = OnCopyOptions.SingleOrDefault(x => x.ID == settings.OnCopyActionID);
                _saveSettings = settings.SaveSettings;
            }
            else
            {
                _selectedOnCopyOption = OnCopyOptions.First();
            }
        }
        public virtual void Initialize()
        {
            Step3Settings settings = _settingsService.LoadSettings<Step3Settings>("Step3Settings");

            if (settings != null)
            {
                _selectedOnDuplicateOption = OnDuplicateOptions.SingleOrDefault(x => x.ID == settings.OnDuplicateOptionID);
                _selectedSortOption = SortOptions.SingleOrDefault(x => x.ID == settings.SortOptionID);

                if (_selectedSortOption == null)
                {
                    _selectedSortOption = SortOptions.First();
                }

                _showRandomizedFiles = settings.ShowRandomizedFiles;
                _saveSettings = settings.SaveSettings;
            }
            else
            {
                _selectedOnDuplicateOption = OnDuplicateOptions.First();
                _selectedSortOption = SortOptions.First();
            }
        }