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