Beispiel #1
0
 private void InitializeFakeObjects()
 {
     _settingRepositoryStub    = new Mock <ISettingRepository>();
     _configurationEventSource = new Mock <IConfigurationEventSource>();
     _deleteSettingAction      = new DeleteSettingAction(
         _settingRepositoryStub.Object,
         _configurationEventSource.Object);
 }
Beispiel #2
0
 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;
 }