Beispiel #1
0
        public void TicketCancelAckToJsonTest()
        {
            var ticket     = TicketBuilderHelper.GetTicketCancelAck();
            var dto        = new TicketCancelAckMapper().Map(ticket);
            var ticketJson = ticket.ToJson();
            var dtoJson    = dto.ToJson();

            CheckMandatoryFields(ticketJson);
            CheckMandatoryFields(dtoJson);

            Assert.AreEqual(ticketJson, dtoJson);
        }