public SettingActions( IDeleteSettingAction deleteSettingAction, IGetAllSettingAction getAllSettingAction, IGetSettingAction getSettingAction, IUpdateSettingAction updateSettingAction, IBulkGetSettingsOperation bulkGetSettingsOperation, IBulkUpdateSettingsOperation bulkUpdateSettingsOperation) { _deleteSettingAction = deleteSettingAction; _getAllSettingAction = getAllSettingAction; _getSettingAction = getSettingAction; _updateSettingAction = updateSettingAction; _bulkGetSettingsOperation = bulkGetSettingsOperation; _bulkUpdateSettingsOperation = bulkUpdateSettingsOperation; }
private void InitializeFakeObjects() { _settingRepositoryStub = new Mock <ISettingRepository>(); _getSettingAction = new GetSettingAction(_settingRepositoryStub.Object); }