public void GetTweet_WithValidCredentials_ReturnsTweet() { // Arrange var controller = new TwitterController(); var token = controller.GetAuthToken(OAuthConsumerKey, OAuthConsumerSecret); // Act var actual = controller.GetTweet(token, "474387738603450368"); actual.DebugPrint(); Assert.IsNotNull(actual); }
private void BtnGetTweet_Click(object sender, EventArgs e) { twitterController.GetTweet(); }