예제 #1
0
        public void FromEpisode_Null_OK()
        {
            // Arrange:

            // Act:
            DownloadIndexViewModel.FromEpisode(null);

            // Assert:
        }
예제 #2
0
        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:
        }
예제 #3
0
 GetDownloadIndex()
 {
     return(this.GetEpisodesToDownload()
            .Select(e =>
                    DownloadIndexViewModel.FromEpisode(e)));
 }