Ejemplo n.º 1
0
        public void SerializeTicketNonSrSettleTest()
        {
            var ticket             = TicketBuilderHelper.GetTicketNonSrSettle();
            var serialized         = JsonConvert.SerializeObject(ticket);
            var deserializedTicket = JsonUtils.Deserialize <ITicketNonSrSettle>(serialized);
            var serializedAgain    = JsonUtils.Serialize(deserializedTicket);

            Assert.AreEqual(serialized, serializedAgain);
        }