public async Task MailNotificationsServiceShouldReceiveEventProducedByTicketsService()
        {
            await TicketsApi.ResetProcessedCommandsCounter(_client);

            await MailNotificationsApi.ResetReceivedEvents(_client);

            await MailNotificationsApi.ResetUniqueReceivedEvents(_client);

            await TicketsApi.PostRandomOrder(_client);

            await Task.Delay(WaitTimeInterval);

            await ValidateEventHandling();
        }
        public async Task MailNotificationsServiceShouldReceiveAllEventsProducedByTicketsService()
        {
            await TicketsApi.ResetProcessedCommandsCounter(_client);

            await MailNotificationsApi.ResetReceivedEvents(_client);

            await MailNotificationsApi.ResetUniqueReceivedEvents(_client);

            const int requests = 10000;

            for (var i = 1; i <= requests; ++i)
            {
                await TicketsApi.PostRandomOrder(_client);
            }

            await Task.Delay(WaitTimeInterval);

            await ValidateEventHandling(requests);
        }