public void SearchSubtitle_NonEquivalentSubtitlesFound_OnlyIncludesEquivalent( TvReleaseIdentity tvReleaseIdentity, string id, string programName, Language[] supportedLanguages, string otherShow, [Frozen]IEpisodeParser nameParser, [Frozen]ISubtitleDownloader downloader, SubtitleDownloaderWrapper downloaderWrapper) { var anyOfTheSupportedLanguages = supportedLanguages.First(); var subtitles = new List<Subtitle> { new Subtitle(id, tvReleaseIdentity.ToString(), anyOfTheSupportedLanguages), new Subtitle(id, tvReleaseIdentity.ToString(), anyOfTheSupportedLanguages), new Subtitle(id, otherShow, anyOfTheSupportedLanguages) }; A.CallTo(() => downloader.SearchSubtitles(A<SearchQuery>._)).Returns(subtitles); var results = downloaderWrapper.SearchSubtitle(tvReleaseIdentity, supportedLanguages); Assert.That(results.Select(s => s.FileName), Has.All.StringStarting(tvReleaseIdentity.ToString())); }