예제 #1
0
        public void GetFollowRequestIsNotZeroTest()
        {
            MyTwitter twitter = new MyTwitter(MyTwitter.consumerKey2, MyTwitter.consumerSecret2, MyTwitter.accessToken2, MyTwitter.accessTokenSecret2);

            Assert.True(twitter.GetFollowRequests() > 0);
        }
예제 #2
0
        public void GetFollowRequestIsZeroTest()
        {
            MyTwitter twitter = new MyTwitter(MyTwitter.consumerKeyMock, MyTwitter.consumerSecretMock, MyTwitter.accessTokenMock, MyTwitter.accessTokenSecretMock);

            Assert.True(twitter.GetFollowRequests() == 0);
        }
예제 #3
0
        public void GetFollowRequestIsIntTest()
        {
            MyTwitter twitter = new MyTwitter(MyTwitter.consumerKey2, MyTwitter.consumerSecret2, MyTwitter.accessToken2, MyTwitter.accessTokenSecret2);

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