public void Feed_Fetch() { var feed = FeedService.FeedNew(); feed.Type = DataHelper.RandomString(30); feed.Data = DataHelper.RandomString(1000); feed = FeedService.FeedSave(feed); feed = FeedService.FeedFetch(feed.FeedId); Assert.IsFalse(feed == null, "Feed should not be null"); }
public void Feed_Delete() { var feed = FeedService.FeedNew(); feed.Type = DataHelper.RandomString(30); feed.Data = DataHelper.RandomString(1000); feed = FeedService.FeedSave(feed); feed = FeedService.FeedFetch(feed.FeedId); try { FeedService.FeedDelete(feed.FeedId); } catch (Exception ex) { Assert.IsTrue(ex.GetBaseException() is NotImplementedException); } }