예제 #1
0
        public void IsDuplicateTest()
        {
            var service = new YouTubeService();

            service
            .IsDuplicate(YouTuberHelpers.UnifyYouTubeUrl("https://www.youtube.com/watch?v=3rJfBFamlIw"))
            .ShouldBe(false);

            service
            .IsDuplicate(YouTuberHelpers.UnifyYouTubeUrl("https://www.youtube.com/watch?v=3rJfBFamlIw"))
            .ShouldBe(true);

            service
            .IsDuplicate(YouTuberHelpers.UnifyYouTubeUrl("https://www.youtube.com/watch?v=3rJfBFamlIw"))
            .ShouldBe(true);
        }