1
using Google.GData.YouTube;
4
using Google.GData.Client;
6
namespace Google.GData.Client.UnitTests.YouTube
11
///This is a test class for SubscriptionFeedTest and is intended
12
///to contain all SubscriptionFeedTest Unit Tests
14
[TestFixture][Category("YouTube")]
15
public class SubscriptionFeedTest
19
private TestContext testContextInstance;
22
///Gets or sets the test context which provides
23
///information about and functionality for the current test run.
25
public TestContext TestContext
29
return testContextInstance;
33
testContextInstance = value;
37
#region Additional test attributes
39
//You can use the following additional attributes as you write your tests:
41
//Use ClassInitialize to run code before running the first test in the class
43
//public static void MyClassInitialize(TestContext testContext)
47
//Use ClassCleanup to run code after all tests in a class have run
49
//public static void MyClassCleanup()
53
//Use TestInitialize to run code before running each test
55
//public void MyTestInitialize()
59
//Use TestCleanup to run code after each test has run
61
//public void MyTestCleanup()
69
///A test for CreateFeedEntry
72
public void CreateFeedEntryTest()
74
Uri uriBase = null; // TODO: Initialize to an appropriate value
75
IService iService = null; // TODO: Initialize to an appropriate value
76
SubscriptionFeed target = new SubscriptionFeed(uriBase, iService); // TODO: Initialize to an appropriate value
77
SubscriptionEntry expected = target.CreateFeedEntry() as SubscriptionEntry;
78
Assert.IsNotNull(expected);
82
///A test for SubscriptionFeed Constructor
85
public void SubscriptionFeedConstructorTest()
87
Uri uriBase = null; // TODO: Initialize to an appropriate value
88
IService iService = null; // TODO: Initialize to an appropriate value
89
SubscriptionFeed target = new SubscriptionFeed(uriBase, iService);
90
Assert.IsNotNull(target);