Esempio n. 1
0
        public void GetMentionsSinceLastTweetIsNotZeroTest()
        {
            MyTwitter twitter = new MyTwitter(MyTwitter.consumerKey2, MyTwitter.consumerSecret2, MyTwitter.accessToken2, MyTwitter.accessTokenSecret2);

            Assert.True(twitter.GetMentionsSinceLastTweet() > 0);
        }
Esempio n. 2
0
        public void GetMentionsSinceLastTweetIsZeroTest()
        {
            MyTwitter twitter = new MyTwitter(MyTwitter.consumerKeyMock, MyTwitter.consumerSecretMock, MyTwitter.accessTokenMock, MyTwitter.accessTokenSecretMock);

            Assert.True(twitter.GetMentionsSinceLastTweet() == 0);
        }
Esempio n. 3
0
        public void GetMentionsSinceLastTweetIsIntTest()
        {
            MyTwitter twitter = new MyTwitter(MyTwitter.consumerKey2, MyTwitter.consumerSecret2, MyTwitter.accessToken2, MyTwitter.accessTokenSecret2);

            Assert.IsType(typeof(int), twitter.GetMentionsSinceLastTweet());
        }