public void Test_AddTwitterFeeds_Single()
        {
            string tweetFile = @"TestData\tweet_Test_AddTwitterFeeds_Single.txt";
            string twitterUser = "******";
            List<IUser> twitterUserList = GetTwitterUsers(twitterUser);

            TwitterFeedProcessor feedProcessor = new TwitterFeedProcessor(tweetFile);
            feedProcessor.AddTwitterFeeds(twitterUserList);

            Assert.AreEqual<int>(twitterUserList[0].TwitterPosts.Count, 1, "Twitter Posts not equal to 1.");
        }
        public void Test_AddTwitterFeeds_GreateThan140Chars()
        {
            string tweetFile = @"TestData\tweet_Test_AddTwitterFeeds_140Characters.txt";
            string twitterUser1 = "Alan";
            List<IUser> twitterUserList = GetTwitterUsers(twitterUser1);

            TwitterFeedProcessor feedProcessor = new TwitterFeedProcessor(tweetFile);
            feedProcessor.AddTwitterFeeds(twitterUserList);

            Assert.AreEqual<int>(twitterUserList[0].TwitterPosts.Count, 1, "Twitter Posts not equal to 2.");
            Assert.IsTrue(twitterUserList[0].TwitterPosts[0].Message.Length == 140, "Twitter Posts greater than 140 characters.");
        }
        public void Test_AddTwitterFeeds_FollowsTweet()
        {
            string tweetFile = @"TestData\tweet_Test_AddTwitterFeeds_Multiple.txt";
            string twitterUser1 = "Alan";
            string twitterUser2 = "John";
            List<IUser> twitterUserList = GetTwitterUsers(twitterUser1, twitterUser2);

            //John follows Alan
            twitterUserList[1].Twitterers.Add(twitterUser1);

            TwitterFeedProcessor feedProcessor = new TwitterFeedProcessor(tweetFile);
            feedProcessor.AddTwitterFeeds(twitterUserList);

            Assert.AreEqual<int>(twitterUserList[0].TwitterPosts.Count, 2, "Twitter Posts not equal to 2.");
            Assert.AreEqual<int>(twitterUserList[1].TwitterPosts.Count, 2, "Twitter Posts not equal to 2.");
        }