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); }
public GroupLeaderController(IGroupLeaderService groupLeaderService, IUserImpersonationService userImpersonationService, IAuthenticationRepository authenticationRepository) : base(userImpersonationService, authenticationRepository) { _groupLeaderService = groupLeaderService; }