/// <summary> /// Initializes a new instance of the <see cref="GoogleSearchServiceTest"/> class. /// </summary> public GoogleSearchServiceTest() { _httpClientService = Substitute.For <IHttpClientService>(); _analyseService = Substitute.For <IAnalyseService>(); _googleSearchService = new GoogleSearchService(_httpClientService, _analyseService); }
public QuestionController(IQuestionnaireService questionnaireService, IReponseService reponse, IQuestionService quest, ICategorieService categ, IAnalyseService analyse, IUserService user, IEmailService emailService) { _questionnaireService = questionnaireService; reponseService = reponse; questionService = quest; categorieService = categ; analyseService = analyse; userService = user; _emailService = emailService; }