public override Task AfterCommitAsync(IDocumentSession session, IChangeSet commit, CancellationToken token)
            {
                var events = commit.GetEvents();

                foreach (var @event in events)
                {
                    @event.TenantId.ShouldNotBeNull();
                    @event.Timestamp.ShouldNotBe(DateTime.MinValue);
                }

                return(Task.CompletedTask);
            }