public void AsAudioOnly_WithNullVideoList_ThrowsArgumentNullException() { IStateNotifier stateNotifier = new IStateNotifierMock(); Downloader target = new Downloader(stateNotifier); string outputDirectory = string.Empty; IList<YoutubeVideo> videos = null; target.AsAudioOnly(outputDirectory, videos); }
public void DownloadAndSaveAsTempFile_WithNullYoutubeVideo_ThrowsArgumentNullException() { IStateNotifier stateNotifier = new IStateNotifierMock(); Downloader target = new Downloader(stateNotifier); YoutubeVideo youTubeVideo = null; target.DownloadAndSaveAsTempFile(youTubeVideo); }