public void Favorites_Can_Serialize()
        {
            var favorite = new Favorites();
            var stringBuilder = new StringBuilder();
            var writer = XmlWriter.Create(stringBuilder);
            var xmlSerializer = new XmlSerializer(typeof(Favorites));

            xmlSerializer.Serialize(writer, favorite);
        }
        public void Favorites_Ctor_Parses_JsonData()
        {
            var favJson = JsonMapper.ToObject(TwitterResponse);

            var favorite = new Favorites(favJson);

            Assert.AreEqual(1234ul, favorite.InReplyToStatusID);
            Assert.AreEqual(new DateTimeOffset(2012, 4, 5, 16, 44, 8, new TimeSpan(0)).DateTime, favorite.CreatedAt);
            Assert.IsFalse(favorite.Truncated);
            Assert.AreEqual(false, favorite.Retweeted);
            Assert.IsNotNull(favorite.User);
        }