public void WriteXmlTest()
        {
            UpdateComment target = new UpdateComment
              {
            Comment = Constants.UpdateComment_One_Comment
              };

              string actual = LinkedIn.Tests.Utility.WriteXml(target);

              Assert.AreEqual(this.shareContentRequest, actual);
        }
        public void ReadXmlTest()
        {
            UpdateComment target = new UpdateComment();
              UpdateComment expected = new UpdateComment
              {
            SequenceNumber = Constants.UpdateComment_One_SequenceNumber,
            Comment = Constants.UpdateComment_One_Comment,
            Person = new Person
            {
              Id = Constants.Person_One_Id,
              FirstName = Constants.Person_One_FirstName,
              LastName = Constants.Person_One_LastName,
              Headline = Constants.Person_One_Headline,
              ApiStandardProfileRequest = new ApiRequest
              {
            Url = Constants.ApiRequest_One_Url,
            Headers = new Collection<HttpHeader>
              {
                new HttpHeader { Name = Constants.HttpHeader_Name, Value = Constants.HttpHeader_Value }
              }
              },
              SiteStandardProfileUrl = new SiteRequest
              {
            Url = Constants.SiteRequest_One_Url
              }
            }
              };

              XmlReader reader = XmlTextReader.Create(new StringReader(shareContentResponse));
              target.ReadXml(reader);

              Assert.AreEqual(expected.SequenceNumber, target.SequenceNumber);
              Assert.AreEqual(expected.Comment, target.Comment);
              Assert.AreEqual(expected.Person.Id, target.Person.Id);
        }