예제 #1
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;
 }
예제 #2
0
 private void InitializeFakeObjects()
 {
     _settingRepositoryStub = new Mock <ISettingRepository>();
     _getSettingAction      = new GetSettingAction(_settingRepositoryStub.Object);
 }