Ejemplo n.º 1
0
        public void Can_deserialize_OrderDto()
        {
            var dtoString = TypeSerializer.SerializeToString(order);

            Log(dtoString);

            var newDto = TypeSerializer.DeserializeFromString <OrderDto>(dtoString);

            Assert.That(order.Equals(newDto), Is.True);
        }