protected internal override void Setup(FeatureConfigurationContext context)
        {
            var outboxStorage = new AcceptanceTestingOutboxStorage();

            context.Services.AddSingleton(typeof(IOutboxStorage), outboxStorage);

            context.RegisterStartupTask(new OutboxCleaner(outboxStorage, TimeSpan.FromDays(5)));
        }
 public OutboxCleaner(AcceptanceTestingOutboxStorage storage, TimeSpan timeToKeepDeduplicationData)
 {
     this.timeToKeepDeduplicationData = timeToKeepDeduplicationData;
     acceptanceTestingOutboxStorage   = storage;
 }