BoxKite.Twitter.Tests.AdditionalTweetAndTimelineTests.Parse_Tweet_with_encodings_part_deux C# (CSharp) Method

Parse_Tweet_with_encodings_part_deux() private method

private Parse_Tweet_with_encodings_part_deux ( ) : void
return void
        public void Parse_Tweet_with_encodings_part_deux()
        {
            var fileName = ".\\data\\sampletweet-withencoding-2.txt";
            var json = File.ReadAllText(fileName);
            var tweet = JsonConvert.DeserializeObject<Tweet>(json);

            Assert.IsNotNull(tweet);
            Assert.IsInstanceOfType(tweet, typeof(BoxKite.Twitter.Models.Tweet));
            tweet.Text.ShouldBeEquivalentTo("School -> Research Assignment -> Uni -> Assignment -> Library -> Marking. #fml");
        }