public void SendPostcardMessage()
{
SendPostcardMessage s = new SendPostcardMessage();
s.FromEmail = "*****@*****.**";
s.FromName = "Jim Radford";
s.GlobalPosition = Vector3.One;
s.Message = "Hello, How are you today?";
s.Subject = "Postcard from the edge";
s.ToEmail = "*****@*****.**";
OSDMap map = s.Serialize();
SendPostcardMessage t = new SendPostcardMessage();
t.Deserialize(map);
Assert.AreEqual(s.FromEmail, t.FromEmail);
Assert.AreEqual(s.FromName, t.FromName);
Assert.AreEqual(s.GlobalPosition, t.GlobalPosition);
Assert.AreEqual(s.Message, t.Message);
Assert.AreEqual(s.Subject, t.Subject);
Assert.AreEqual(s.ToEmail, t.ToEmail);
}