public void FileProcessorTweet_FileNotExist_Fail()
 {
     //Arrange
     string filePath = "DoesNotExist.txt";
     //Act
     FileProcessorTweet testingclass = new FileProcessorTweet(filePath);
 }
 public void FileProcessorTweet_FileInvalidFormat_Valid()
 {
     //Arrange
     string filePath = "tweet_Bad.txt";
     //Act
     List <TwitterTweet> tweets = new FileProcessorTweet(filePath).Process().ToList();
 }
        public void FileProcessorTweet_FileExists_Valid()
        {
            //Arrange
            string filePath = "tweet.txt";
            //Act
            FileProcessorTweet testingclass = new FileProcessorTweet(filePath);

            //Assert
            Assert.IsTrue(testingclass.Valid);
        }
        public void FileProcessorTweet_LongTweetsCheck_ShouldBeTruncated()
        {
            //Arrange
            bool   valid    = true;
            string filePath = "tweet_TooLong.txt";

            //Act
            List <TwitterTweet> tweets = new FileProcessorTweet(filePath).Process().ToList();

            foreach (var item in tweets)
            {
                if (item.Message.Length > 140)
                {
                    valid = false;
                }
            }

            //Assert
            Assert.IsTrue(valid);
        }