public void A_private_setter_should_be_serializable()
        {
            const string expected = "Dr. Cox";

            var message = new PrivateSetter(expected);

            TestSerialization(message);
        }
 public bool Equals(PrivateSetter other)
 {
     if (ReferenceEquals(null, other))
     {
         return(false);
     }
     if (ReferenceEquals(this, other))
     {
         return(true);
     }
     return(Equals(other.Name, Name));
 }