using NATS.Server.Protocol; namespace NATS.Server.Tests; public class ClientKindCommandMatrixTests { [Fact] public void Router_only_commands_are_rejected_for_client_kind() { var matrix = new ClientCommandMatrix(); matrix.IsAllowed(ClientKind.Client, "RS+").ShouldBeFalse(); matrix.IsAllowed(ClientKind.Router, "RS+").ShouldBeTrue(); } }