public MediaProcessor(IVideoDownloader videoDownloader, IAudioDownloader audioDownloader, IMediaMuxer mediaMuxer, IVideoRotator videoRotator, IVideoUploader videoUploader) { _videoDownloader = videoDownloader; _audioDownloader = audioDownloader; _mediaMuxer = mediaMuxer; _videoRotator = videoRotator; _videoUploader = videoUploader; }
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); }