public void UserGetMentions()
        {
            ITokenUser      u        = new TokenUser(TokenTestSingleton.Instance);
            List <IMention> mentions = u.GetLatestMentionsTimeline();

            Assert.AreNotEqual(mentions, null);
            Assert.AreNotEqual(mentions.Count, 0);
        }
        static void GetMentions(IToken token)
        {
            ITokenUser       user              = new TokenUser(token);
            IList <IMention> mentions          = user.GetLatestMentionsTimeline();
            IList <IMention> mentionsAttribute = user.LatestMentionsTimeline;


            if ((mentions == null && mentionsAttribute != null) ||
                (mentions != null && mentionsAttribute == null) ||
                (mentions != null && !mentions.Equals(mentionsAttribute)))
            {
                Console.WriteLine("The object's attribute should be identical to the method result");
            }

            if (mentions != null)
            {
                foreach (Mention m in mentions)
                {
                    Console.WriteLine("tweet id = " + m.Id + " - text = " + m.Text + " - annotations = " + m.Annotations);
                }
            }
        }