public async Task Given2PodcastsExist() { var podcastFileRepository = new PodcastFileRepository(); Podcast podcast1 = Podcast.Create("http://www.dr.dk/mu/Feed/harddisken?format=podcast&limit=500"); Podcast podcast2 = Podcast.Create("http://www.dr.dk/mu/Feed/troldspejlet?format=podcast&limit=500"); await podcastFileRepository.Add(podcast1); await podcastFileRepository.Add(podcast2); }
public async Task GivenPodcastsExist(Podcast podcast) { var podcastFileRepository = new PodcastFileRepository(); await podcastFileRepository.Add(podcast); }