public void Setup() { _mockIDownloadToFile = new Mock<IDownloadToFile>(MockBehavior.Strict); _mockIMp3Player = new Mock<IMp3Player>(MockBehavior.Strict); _voiceRss = new VoiceRss(_mockIDownloadToFile.Object, _mockIMp3Player.Object, "1fd3734b81574c7d961c5e69f613cdda"); }
public void Play_GivenFullImplementation_ShouldPlayFile() { Setup(); // arrange _voiceRss = new VoiceRss(new DownloadToFile("./", new SettingsManager("settings.json")), new Mp3Player(), "1fd3734b81574c7d961c5e69f613cdda"); // action _voiceRss.Play("Luke why am i not your father12."); }