Example #1
0
        public void getYouTubeExtensionTest()
        {
            YouTubeBaseEntry target = CreateYouTubeBaseEntry(); // TODO: Initialize to an appropriate value
            SimpleElement    age    = new Age();
            SimpleElement    actual;

            target.ExtensionElements.Add(age);
            actual = target.getYouTubeExtension(YouTubeNameTable.Age);
            Assert.AreEqual(age, actual);
        }
Example #2
0
        public void setYouTubeExtensionTest()
        {
            YouTubeBaseEntry target   = CreateYouTubeBaseEntry(); // TODO: Initialize to an appropriate value
            string           newValue = "3";
            string           actual;

            target.setYouTubeExtension(YouTubeNameTable.Location, newValue);
            actual = target.getYouTubeExtensionValue(YouTubeNameTable.Location);
            Assert.AreEqual(newValue, actual);
        }