Beispiel #1
0
        public void ShouldReturnTrueForUniqueUrlEpisodes()
        {
            EpisodeControl episodeA = CreateEpisode("MyFirstEpisode", "UrlDiff");
            EpisodeControl episodeB = CreateEpisode("MyFirstEpisode", "Url");

            episodeA.SameAs(episodeB).Should().BeTrue();
        }
Beispiel #2
0
        public void ShouldSeeEpisodesAreSame()
        {
            EpisodeControl ec = new EpisodeControl
            {
                Title      = "Title",
                PodcastURL = "PodcastURL"
            };

            EpisodeControl ecB = new EpisodeControl
            {
                Title      = "Title",
                PodcastURL = "PodcastURL"
            };

            ec.SameAs(ecB).Should().BeTrue();
        }