public void SutCanRoundTripToString(
     AtomAuthor expected,
     IContentSerializer dummySerializer)
 {
     var xml = expected.ToXmlString(dummySerializer);
     AtomAuthor actual = AtomAuthor.Parse(xml);
     Assert.Equal(expected, actual);
 }
 public void ReadFromReturnsCorrectResult(
     AtomAuthor expected,
     IContentSerializer dummySerializer)
 {
     using (var sr = new StringReader(expected.ToXmlString(dummySerializer)))
     using (var r = XmlReader.Create(sr))
     {
         AtomAuthor actual = AtomAuthor.ReadFrom(r);
         Assert.Equal(expected, actual);
     }
 }