public void TestSurrogateForActorPath()
{
var serializer = new ProtobufSerializer(null);
var obj = new ResponseMessage
{
RequestId = 12345678,
ReturnPayload = new PathReturnMessage { v = ActorPath.Parse("akka://system@host:1234/user/protobuf") }
};
var bytes = serializer.ToBinary(obj);
var obj2 = (ResponseMessage)serializer.FromBinary(bytes, null);
Assert.Equal(obj.ReturnPayload.Value.ToString(), obj2.ReturnPayload.Value.ToString());
}