namespace ZB.MOM.WW.ScadaBridge.NotificationOutbox.Tests;

public class NotificationOutboxOptionsTests
{
    [Fact]
    public void Defaults_AreExpectedValues()
    {
        var options = new NotificationOutboxOptions();

        Assert.Equal(TimeSpan.FromSeconds(10), options.DispatchInterval);
        Assert.Equal(100, options.DispatchBatchSize);
        Assert.Equal(TimeSpan.FromMinutes(10), options.StuckAgeThreshold);
        Assert.Equal(TimeSpan.FromDays(365), options.TerminalRetention);
        Assert.Equal(TimeSpan.FromDays(1), options.PurgeInterval);
        Assert.Equal(TimeSpan.FromMinutes(1), options.DeliveredKpiWindow);
    }
}
