public CosmosOutboxRepository(IDbContext dbContext, IPersistenceSerializer serializer,
                               CosmosOutboxRepositoryOptions options)
 {
     _dbContext  = dbContext ?? throw new ArgumentNullException(nameof(dbContext));
     _serializer = serializer ?? throw new ArgumentNullException(nameof(serializer));
     _options    = options ?? throw new ArgumentNullException(nameof(options));
 }
        private CosmosOutboxRepository CreateSut(CosmosOutboxRepositoryOptions options = null)
        {
            var serializer = new JsonSerializer();

            options ??= CosmosOutboxRepositoryOptions.Default;

            var sut = new CosmosOutboxRepository(_fixture.DbContext, serializer, options);

            return(sut);
        }