public GoVolunteerController(IOrganizationService organizationService,
                                     IGroupConnectorService groupConnectorService,
                                     IGatewayLookupService gatewayLookupService,
                                     IGoSkillsService skillsService,
                                     IGoVolunteerService goVolunteerService,
                                     IAttributeService attributeService,
                                     IConfigurationWrapper configurationWrapper,
                                     IUserImpersonationService userImpersonationService) : base(userImpersonationService)

        {
            _organizationService   = organizationService;
            _gatewayLookupService  = gatewayLookupService;
            _goVolunteerService    = goVolunteerService;
            _groupConnectorService = groupConnectorService;
            _skillsService         = skillsService;
            _attributeService      = attributeService;
            _configurationWrapper  = configurationWrapper;
        }
Esempio n. 2
0
 public void Setup()
 {
     _groupRepository = new Mock <IGroupConnectorRepository>();
     _config          = new Mock <IConfigurationWrapper>();
     _fixture         = new GroupConnectorService(_groupRepository.Object, _config.Object);
 }