public EvaluateSavingRelevantSettingsAndNotifyUserCommand( IInteractionRequest interactionRequest, ITranslationUpdater translationUpdater, ITabSwitchSettingsCheck tabSwitchSettingsCheck) : base(interactionRequest, translationUpdater) { _tabSwitchSettingsCheck = tabSwitchSettingsCheck; }
public void SetUp() { _interactionRequest = new UnitTestInteractionRequest(); _tabSwitchSettingsCheck = Substitute.For <ITabSwitchSettingsCheck>(); _currentSettingsProvider = Substitute.For <ICurrentSettingsProvider>(); _beforeEvaluateTabSwitchCommand = new EvaluateTabSwitchRelevantSettingsAndNotifyUserCommand( _interactionRequest, new DesignTimeTranslationUpdater(), _tabSwitchSettingsCheck, _currentSettingsProvider); _commandTester = new WaitableCommandTester <EvaluateTabSwitchRelevantSettingsAndNotifyUserCommand>(_beforeEvaluateTabSwitchCommand); }
public void SetUp() { _interactionRequest = new UnitTestInteractionRequest(); _tabSwitchSettingsCheck = Substitute.For <ITabSwitchSettingsCheck>(); _evaluateSavingCommand = new EvaluateSavingRelevantSettingsAndNotifyUserCommand( _interactionRequest, new DesignTimeTranslationUpdater(), _tabSwitchSettingsCheck); _commandTester = new WaitableCommandTester <EvaluateSavingRelevantSettingsAndNotifyUserCommand>(_evaluateSavingCommand); }
public EvaluateTabSwitchRelevantSettingsAndNotifyUserCommand( IInteractionRequest interactionRequest, ITranslationUpdater translationUpdater, ITabSwitchSettingsCheck tabSwitchSettingsCheck, ICurrentSettingsProvider currentSettingsProvider) : base( interactionRequest, translationUpdater) { _tabSwitchSettingsCheck = tabSwitchSettingsCheck; _currentSettingsProvider = currentSettingsProvider; }
public AskForSavingCommand(ITranslationUpdater translationUpdater, IInteractionRequest interactionRequest, ITabSwitchSettingsCheck tabSwitchSettingsCheck) : base(translationUpdater) { _interactionRequest = interactionRequest; _tabSwitchSettingsCheck = tabSwitchSettingsCheck; }