public ActionResult Result() { TweetCollector tweetCollector = new TweetCollector(); var Model = tweetCollector.GetTweets(); TempData["data"] = Model; return(View(Model)); }
public void GetTweets() { // Arrange TweetCollector tweetCollector = new TweetCollector(); //Act var Model = tweetCollector.GetTweets(); // Assert Assert.IsNotNull(Model); Assert.IsNotNull(Model.TweetList); Assert.IsNotNull(Model.DuplicateCount); }