Exemple #1
0
 public ParameterActions(IGetModulesAction getModulesAction, IGetConnectorsAction getConnectorsAction,
                         IUpdateModuleConfigurationAction updateModuleConfigurationAction, IUpdateConnectorsAction updateConnectorsAction)
 {
     _getModulesAction                = getModulesAction;
     _getConnectorsAction             = getConnectorsAction;
     _updateModuleConfigurationAction = updateModuleConfigurationAction;
     _updateConnectorsAction          = updateConnectorsAction;
 }
Exemple #2
0
 private void InitializeFakeObjects()
 {
     _directoryHelperStub = new Mock <IDirectoryHelper>();
     _directoryHelperStub.Setup(d => d.GetCurrentDirectory()).Returns(Path.Combine(Directory.GetCurrentDirectory(), _subPath));
     _updateModuleConfigurationAction = new UpdateModuleConfigurationAction(_directoryHelperStub.Object);
 }