Exemplo n.º 1
0
 public void Setup()
 {
     _userRepo                = new Mock <IUserRepository>();
     _personService           = new Mock <IPersonService>();
     _formService             = new Mock <IFormSubmissionRepository>();
     _participantRepository   = new Mock <IParticipantRepository>();
     _configWrapper           = new Mock <IConfigurationWrapper>();
     _communicationRepository = new Mock <ICommunicationRepository>();
     _contactMock             = new Mock <IContactRepository>();
     _fixture = new GroupLeaderService(_personService.Object, _userRepo.Object, _formService.Object, _participantRepository.Object, _configWrapper.Object, _communicationRepository.Object, _contactMock.Object);
 }
Exemplo n.º 2
0
 public GroupLeaderController(IGroupLeaderService groupLeaderService, IUserImpersonationService userImpersonationService, IAuthenticationRepository authenticationRepository) : base(userImpersonationService, authenticationRepository)
 {
     _groupLeaderService = groupLeaderService;
 }