示例#1
0
 public void EnableRSSFeedForBussUserTest1()
 {
     UserManager target = new UserManager(); // TODO: Initialize to an appropriate value
     EnableRSSFeedInfo objFeed = new EnableRSSFeedInfo(); // TODO: Initialize to an appropriate value
     objFeed.UserId = 9;
     objFeed.AtomEnabled = true;
     EnableRSSFeedInfo expected = new EnableRSSFeedInfo(); // TODO: Initialize to an appropriate value
     expected.UpdateOutput = 1;
     EnableRSSFeedInfo actual = new EnableRSSFeedInfo(); ;
     actual = target.EnableRSSFeedForBussUser(objFeed);
     Assert.AreEqual(expected.UpdateOutput, actual.UpdateOutput);
     //Assert.Inconclusive("Verify the correctness of this test method.");
 }
 public EnableRSSFeedInfo EnableXmlFeedForBussUser(EnableRSSFeedInfo enableRSSFeedInfo)
 {
     UserResource objUserResource = new UserResource();
     object[] param = { enableRSSFeedInfo };
     return objUserResource.EnableXmlFeedForBussUser(param);
 }
 public EnableRSSFeedInfo EnableRSSFeedForBussUser(EnableRSSFeedInfo objFeed)
 {
     UserResource objUserResource = new UserResource();
     object[] param = { objFeed };
     return objUserResource.EnableRSSFeedForBussUser(param);
 }
 public EnableRSSFeedInfo EnableXmlFeedForBussUser(EnableRSSFeedInfo enableRSSFeedInfo)
 {
     return FacadeManager.UserManager.EnableXmlFeedForBussUser(enableRSSFeedInfo);
 }