예제 #1
0
        public void Can_serialize_ProtobufMessage()
        {
            ProtobufSerializer.RegisterFileDescriptor(ContainerFormatsReflection.Descriptor);
            var message = new AddressData();

            message.System   = "sys";
            message.Hostname = "localhost";
            message.Protocol = "akka.tcp";
            message.Port     = 54645;
            AssertEqual(message);
        }