feat: add MaxSubs enforcement, delivery-time deny filtering, auto-unsub cleanup
This commit is contained in:
@@ -5,10 +5,10 @@ public class ClientClosedReasonTests
|
||||
[Fact]
|
||||
public void All_expected_close_reasons_exist()
|
||||
{
|
||||
// Verify all 17 enum values exist and are distinct (None + 16 named reasons)
|
||||
// Verify all 18 enum values exist and are distinct (None + 17 named reasons)
|
||||
var values = Enum.GetValues<ClientClosedReason>();
|
||||
values.Length.ShouldBe(17);
|
||||
values.Distinct().Count().ShouldBe(17);
|
||||
values.Length.ShouldBe(18);
|
||||
values.Distinct().Count().ShouldBe(18);
|
||||
}
|
||||
|
||||
[Theory]
|
||||
|
||||
Reference in New Issue
Block a user