Exemplo n.º 1
0
 private void InitializeFakeObjects()
 {
     _scopeRepositoryStub      = new Mock <IScopeRepository>();
     _scopeParameterValidator  = new Mock <IScopeParameterValidator>();
     _umaServerEventSourceStub = new Mock <IUmaServerEventSource>();
     _insertScopeAction        = new InsertScopeAction(_scopeRepositoryStub.Object,
                                                       _scopeParameterValidator.Object,
                                                       _umaServerEventSourceStub.Object);
 }
Exemplo n.º 2
0
 public ScopeActions(
     IGetScopeAction getScopeAction,
     IInsertScopeAction insertScopeAction,
     IUpdateScopeAction updateScopeAction,
     IGetScopesAction getScopesAction,
     IDeleteScopeAction deleteScopeAction)
 {
     _getScopeAction    = getScopeAction;
     _insertScopeAction = insertScopeAction;
     _getScopesAction   = getScopesAction;
     _updateScopeAction = updateScopeAction;
     _deleteScopeAction = deleteScopeAction;
 }