Пример #1
0
 public MediaProcessor(IVideoDownloader videoDownloader, IAudioDownloader audioDownloader, IMediaMuxer mediaMuxer, IVideoRotator videoRotator, IVideoUploader videoUploader)
 {
     _videoDownloader = videoDownloader;
     _audioDownloader = audioDownloader;
     _mediaMuxer      = mediaMuxer;
     _videoRotator    = videoRotator;
     _videoUploader   = videoUploader;
 }
Пример #2
0
 public MediaProcessorTests()
 {
     _fakeVideoDownloader     = A.Fake <IVideoDownloader>();
     _fakeAudioDownloader     = A.Fake <IAudioDownloader>();
     _fakeMediaMuxer          = A.Fake <IMediaMuxer>();
     _fakeVideoRotator        = A.Fake <IVideoRotator>();
     _fakeGfyCatVideoUploader = A.Fake <IVideoUploader>();
     _mediaProcessor          = new MediaProcessor(_fakeVideoDownloader, _fakeAudioDownloader, _fakeMediaMuxer, _fakeVideoRotator, _fakeGfyCatVideoUploader);
 }