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); }
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); }