public void SetUp()
        {
            _settingGateway = new SettingGatewayForTests();
            _settingGateway.SetWorkingDirectory(_initialWorkingDirectory);
            var safeProvider = new SafeProvider();

            _accountGateway = Substitute.For <IAccountGateway>();
            _cryptor        = Substitute.For <ICryptor>();

            safeProvider.SettingGateway = _settingGateway;
            safeProvider.AccountGateway = _accountGateway;
            safeProvider.Cryptor        = _cryptor;
            _safeProvider = safeProvider;
        }
        public void SetUp()
        {
            _settingGateway = new SettingGatewayForTests();
            _settingGateway.SetWorkingDirectory(InitialWorkingDirectory);

            var safeProvider = new SafeProvider();

            safeProvider.SettingGateway = _settingGateway;
            _hasWorkingDirectory        = safeProvider;


            _settingsStepViewModel = new SettingsStepViewModel(_hasWorkingDirectory, () => { });

            _saveCommandObserver    = _settingsStepViewModel.SaveCommand.GetDelegateCommandObserver();
            _discardCommandObserver = _settingsStepViewModel.DiscardCommand.GetDelegateCommandObserver();
            _okayCommandObserver    = _settingsStepViewModel.OkCommand.GetDelegateCommandObserver();

            _workSpaceDirectoryObserver = _settingsStepViewModel
                                          .GetPropertyObserver <string>(nameof(_settingsStepViewModel.WorkSpaceDirectory));
        }