public void Setup() { _mockIDownloadToFile = new Mock<IDownloadToFile>(MockBehavior.Strict); _mockIMp3Player = new Mock<IMp3Player>(MockBehavior.Strict); _googleTextToSpeach = new GoogleTextToSpeach(_mockIDownloadToFile.Object, _mockIMp3Player.Object); }
public void Play_GivenFullImplementation_ShouldPlayFile() { Setup(); // arrange _googleTextToSpeach = new GoogleTextToSpeach(new DownloadToFile("./",new SettingsManager("settings.json")), new Mp3Player()); // action _googleTextToSpeach.Play(_longString); }