public void TestTextToShowReTweet()
        {
            TwitterRepository tw = new TwitterRepository();
            var firstTweet       = tw.GetTweets().Where(o => o.retweeted_status != null).ToList().FirstOrDefault();

            Assert.AreNotEqual("RT ", firstTweet.textToShow().Substring(0, 3));
        }
        public void TestShowDateTimeOfTweet()
        {
            TwitterRepository tw = new TwitterRepository();
            var firstTweet       = tw.GetTweets().ToList().FirstOrDefault();

            firstTweet.created_at = "Thu Mar 01 08:01:58 +0000 2018";

            Assert.AreEqual("03/01/2018 08:01 AM", firstTweet.showDateTime());
        }
        public void TestLastTenTweets()
        {
            TwitterRepository tw = new TwitterRepository();

            Assert.AreEqual(10, tw.GetTweets().ToList().Count);
        }
        public void TestSearchTweetsReturnNothing()
        {
            TwitterRepository tw = new TwitterRepository();

            Assert.AreEqual(0, tw.GetTweets("nowayeverthiswouldbeinatweet").ToList().Count);
        }