public void MailsList_getItems_Test()
        {
            mailsList = _mng.Mails.GetMails(out msg, _mng.GetUser()).OrderByDescending(p => p.fromSender).Take(5).ToList();
            var total        = _mng.Mails.GetMails(out msg, _mng.GetUser()).Count();
            var jsonResponse = JsonConvert.SerializeObject(new
            {
                items = mailsList.Select(x => new
                {
                    id                = x.id,
                    uniqueCode        = x.uniqueCode,
                    date              = x.date.ToShortDateString(),
                    fromSender        = x.fromSender,
                    toRecipient       = x.toRecipient,
                    description       = x.description,
                    trackNumber       = x.trackNumber,
                    backTrackNumber   = x.backTrackNumber,
                    backDateRecipient = x.backDateRecipient,
                    delSystemsName    = x.h_deliverySystems.name,
                    mailStatuses      = x.h_mailStatuses.name
                }),
                msg   = msg,
                total = total
            });
            //Act
            var result = mailsController.MailsList_getItems() as JsonResult;

            //Assert

            Assert.AreEqual(jsonResponse, result.Data);
        }