public ScopeActions( IDeleteScopeOperation deleteScopeOperation, IGetScopeOperation getScopeOperation, IGetScopesOperation getScopesOperation, IAddScopeOperation addScopeOperation, IUpdateScopeOperation updateScopeOperation) { _deleteScopeOperation = deleteScopeOperation; _getScopeOperation = getScopeOperation; _getScopesOperation = getScopesOperation; _addScopeOperation = addScopeOperation; _updateScopeOperation = updateScopeOperation; }
public ScopeClient(IGetScopeOperation getScopeOperation, IGetScopesOperation getScopesOperation, IDeleteScopeOperation deleteScopeOperation, IUpdateScopeOperation updateScopeOperation, IAddScopeOperation addScopeOperation, IGetConfigurationOperation getConfigurationOperation) { _getScopeOperation = getScopeOperation; _getScopesOperation = getScopesOperation; _deleteScopeOperation = deleteScopeOperation; _updateScopeOperation = updateScopeOperation; _addScopeOperation = addScopeOperation; _getConfigurationOperation = getConfigurationOperation; }
private void InitializeFakeObjects() { _scopeRepositoryStub = new Mock <IScopeRepository>(); _getScopesOperation = new GetScopesOperation(_scopeRepositoryStub.Object); }