using NATS.Server.JetStream.Models;
using NATS.Server.JetStream.Validation;

namespace NATS.Server.JetStream.Tests;

public class JetStreamConfigValidationTests
{
    [Fact]
    public void Stream_requires_name_and_subjects()
    {
        var config = new StreamConfig { Name = "", Subjects = [] };
        var result = JetStreamConfigValidator.Validate(config);
        result.IsValid.ShouldBeFalse();
    }
}
