protected void Setup() { RequestsRepository = new Mock <IRequestsRepository>(); RelationshipsService = new Mock <IRelationshipsService>(); RequestsService = new RequestsService(RequestsRepository.Object, RelationshipsService.Object); }
public RequestsServiceTest() { _uow = Substitute.For <IUnitOfWork>(); _repository = Substitute.For <IRequestRepository>(); _mapper = Substitute.For <IRequestsMapper>(); _requestsService = new RequestsService(_uow, _repository, _mapper); }
public CommunityController(IRequestsService requestsService, IReCaptchaService reCaptchaService, INewsItemsService newsItemsService) { _RequestsService = requestsService; _ReCaptchaService = reCaptchaService; _NewsItemsService = newsItemsService; }
public RequestsController(IRequestsService requestsService, IRequestsRepository requestsRepository, IAuthService authService, IRequestValidator requestValidator) { _requestsService = requestsService; _requestsRepository = requestsRepository; _authService = authService; _requestValidator = requestValidator; }
public DonationEventsController( IDonationEventsService donationEventsService, UserManager <ApplicationUser> userManager, IRequestsService requestsService) { this.donationEventsService = donationEventsService; this.userManager = userManager; this.requestsService = requestsService; }
public RequestsController( IRequestsService requestsService, IUsersService usersService, IImagesService imagesService) { this.requestsService = requestsService; this.usersService = usersService; this.imagesService = imagesService; }
public TripsController( ITripsService tripsService, IUsersService usersService, IRequestsService requestsService) { _tripsService = tripsService; _usersService = usersService; _requestsService = requestsService; }
public RecipientsController( UserManager <ApplicationUser> userManager, IRecipientsService recipientsService, IRequestsService requestsService) { this.userManager = userManager; this.recipientsService = recipientsService; this.requestsService = requestsService; }
public GroupsController(IGroupsService groupsService, IUsersService usersService, IRequestsService requestsService, IConnectionsService connectionsService) { this._groupsService = groupsService; this._usersService = usersService; this._requestsService = requestsService; this._connectionsService = connectionsService; }
public RequestsController( IWebHostEnvironment environment, IRequestsService requestsService, IAttachmentsService attService, ApplicationDbContext dbContext) { this.environment = environment; this.requestsService = requestsService; this.attService = attService; this.dbContext = dbContext; }
public ReviewsController( IRequestsService requestsService, IIssuesService issuesService, IReviewsService reviewsService, ICitizensService citizensService, IInstitutionsService institutionsService) { this.requestsService = requestsService; this.issuesService = issuesService; this.reviewsService = reviewsService; this.citizensService = citizensService; this.institutionsService = institutionsService; }
public ReportService(IRequestsService requestsService, ITableRepository tableRepository, IReportManager reportManager, ITypeHelper typeHelper, IStringAnylize stringAnylize, ICustomReportService customReportService) { _requestsService = requestsService; _tableRepository = tableRepository; _reportManager = reportManager; _typeHelper = typeHelper; _stringAnylize = stringAnylize; _customReportService = customReportService; }
public NasaApiService(IRequestsService requestsService, string apiKey) { this.requestsService = requestsService; this.apiKey = apiKey; }
public void SetUp() { this.requestsService = MockRepository.GenerateMock <IRequestsService>(); this.testee = new YoutubeService(this.requestsService, string.Empty); }
public ReportManager(IRequestsService requestsService, ITableRepository tableRepository) { _requestsService = requestsService; _tableRepository = tableRepository; }
public NotesService(IRepository <RequestNote> repository, IRequestsService requestService) : base(repository) { this.requestService = requestService; }
public ReportController(IRequestsService requestsService, IReporter reporter) { _requestsService = requestsService; _reporter = reporter; }
public WorldCupService(IRequestsService requestsService) { this.requestsService = requestsService; }
public PersonService(IRequestsService requestService) { _requestService = requestService; }
public AboutController(IRequestsService requestsService, IReCaptchaService reCaptchaService) { _RequestsService = requestsService; _ReCaptchaService = reCaptchaService; }
public PasteBinApiService(string pastebinApiDevKey, IRequestsService requestsService) { this.pastebinApiDevKey = pastebinApiDevKey; this.requestsService = requestsService; }
public RequestValidator(IRequestsRepository requestsRepository, IRelationshipsService relationshipsService, IRequestsService requestsService) { _requestsRepository = requestsRepository; _relationshipsService = relationshipsService; _requestsService = requestsService; }
public OrdersService(IRequestsService requestService) { _requestService = requestService; }
public ApprovalsService(IRepository <RequestApproval> repository, IRequestsService requestService, IApprovalStatusesService approvalsStatusService) : base(repository) { this.requestService = requestService; this.approvalsStatusService = approvalsStatusService; }
/// <summary> /// Public constructor. /// </summary> /// <param name="requestsService"></param> public RequestsController(IRequestsService requestsService) { _requestsService = requestsService; }
public PokemonApiService(IRequestsService requestsService) { this.requestsService = requestsService; }
public WolframAlphaService(string wolframAlphaAppId, IRequestsService requestsService) { this.wolframAlphaAppId = wolframAlphaAppId; this.requestsService = requestsService; }
public RequestsController(IRequestsService RequestsService) { this._RequestsService = RequestsService; }
public RequestsController(UserManager <User> userManager, IRequestsService requestsService) { this.userManager = userManager; this.requestsService = requestsService; }
public YoutubeService(IRequestsService requestsService, string youtubeApiKey) { this.requestsService = requestsService; this.youtubeApiKey = youtubeApiKey; }
public RepliesService(IRepository <RequestReply> repository, IRequestsService requestService) : base(repository) { this.requestService = requestService; }