public async Task ShouldAddLogEntry()
        {
            // Arrange
            var entry = new TicketActionLogEntry
            {
                UserId      = "alexpvt",
                TicketId    = "ticket",
                TicketName  = "opera aida",
                ActionType  = TicketActionType.Add,
                Description = "TicketDescription",
                EventDate   = DateTimeNow
            };

            // Act
            await _ticketLogService.AddLogAsync(entry);

            // Assert
            var dbEntry = Context.TicketActionLogEntries.Single();

            dbEntry.Id.ShouldNotBeNullOrEmpty();
            dbEntry.UserId.ShouldBeEqualTo("alexpvt");
            dbEntry.TicketId.ShouldBeEqualTo("ticket");
            dbEntry.TicketName.ShouldBeEqualTo("opera aida");
            dbEntry.Type.ShouldBeEqualTo((int)TicketActionType.Add);
            dbEntry.Description.ShouldBeEqualTo("TicketDescription");
            dbEntry.EventDate.ShouldBeEqualTo(DateTimeNow);
        }
 /// <summary>
 /// Метод для обработки сообщений о действиях с билетом
 /// </summary>
 /// <param name="message">Сообщение о действии с билетом</param>
 /// <returns></returns>
 public async Task ConsumeAsync(TicketActionLogMessage message)
 {
     await _ticketLogService.AddLogAsync(_mapper.Map <TicketActionLogEntry>(message));
 }