public AddDomainToVideoServiceTest() { var httpService = HttpServiceBuilder.Build(); _addDomainToVideoService = AddDomainToVideoServiceBuilder.Build(httpService); _testFileHelper = new TestFileHelper(); }
public static UploadVideoService Build(HttpService httpService) { var loggerUploadVideoService = new Mock <ILogger <UploadVideoService> >().Object; var updateVideoDetailsService = UpdateVideoDetailsServiceBuilder.Build(httpService); var getStreamingTicketService = GetStreamingTicketServiceBuilder.Build(httpService); var completeUploadByCompleteUriService = CompleteUploadByCompleteUriServiceBuilder.Build(httpService); var addDomainToVideoService = AddDomainToVideoServiceBuilder.Build(httpService); return(new UploadVideoService(httpService, loggerUploadVideoService, getStreamingTicketService, completeUploadByCompleteUriService, updateVideoDetailsService, addDomainToVideoService)); }