public void Ctor_Default()
        {
            var textInput = new SyndicationTextInput();

            Assert.Null(textInput.Description);
            Assert.Null(textInput.Link);
            Assert.Null(textInput.Name);
            Assert.Null(textInput.Title);
        }
        public void TextInput_Set_GetReturnsExpected()
        {
            var feed  = new SyndicationFeed();
            var input = new SyndicationTextInput();

            feed.TextInput = input;
            Assert.Same(input, feed.TextInput);

            feed.TextInput = null;
            Assert.Null(feed.TextInput);
        }
        public void Ctor_NoNetcoreappProperties_Success()
        {
            var input = new SyndicationTextInput();
            var feed  = new SyndicationFeed();
            var clone = new SyndicationFeedSubclass(feed, cloneItems: false);

            Assert.Null(clone.Documentation);
            Assert.Empty(clone.SkipDays);
            Assert.Empty(clone.SkipHours);
            Assert.Null(clone.TextInput);
            Assert.Null(clone.TimeToLive);
        }
        public void Ctor_HasNetcoreappProperties_Success()
        {
            var input = new SyndicationTextInput();
            var feed  = new SyndicationFeed
            {
                Documentation = new SyndicationLink(new Uri("http://documentation_link.com")),
                TextInput     = input,
                TimeToLive    = new TimeSpan(10)
            };

            feed.SkipDays.Add("monday");
            feed.SkipHours.Add(2);

            var clone = new SyndicationFeedSubclass(feed, cloneItems: false);

            Assert.Null(clone.Documentation);
            Assert.Empty(clone.SkipDays);
            Assert.Empty(clone.SkipHours);
            Assert.Null(clone.TextInput);
            Assert.Null(clone.TimeToLive);
        }