public void FromEpisode_Null_OK() { // Arrange: // Act: DownloadIndexViewModel.FromEpisode(null); // Assert: }
public void FromEpisode_X_OK() { // Arrange: Episode episode = Episode.ConstructEpisode( "x", DateTime.Now, "x", "x", new Uri("http://xxx.ddd"), new PodCast(1, "x", null), true); // Act: DownloadIndexViewModel.FromEpisode(episode); // Assert: }
GetDownloadIndex() { return(this.GetEpisodesToDownload() .Select(e => DownloadIndexViewModel.FromEpisode(e))); }