Exemple #1
0
        public void GetTweetsWithHashTags_WithValidCredentials_ReturnsAllTweets()
        {
            // Arrange
            var controller = new TwitterController();

            var token = controller.GetAuthToken(OAuthConsumerKey, OAuthConsumerSecret);



            // Act
            var result = controller.GetTweetsWithHashTag(token, HashTag);

            foreach (var s in result.statuses)
            {
                s.DebugPrint();
            }
            // Assert
            Assert.IsNotNull(result);
        }