using NATS.Server.JetStream; using NATS.Server.JetStream.Api; namespace NATS.Server.Tests; public class JetStreamAccountControlApiTests { [Fact] public void Account_and_server_control_subjects_are_routable() { var router = new JetStreamApiRouter(new StreamManager(), new ConsumerManager()); router.Route("$JS.API.SERVER.REMOVE", "{}"u8).Error.ShouldBeNull(); router.Route("$JS.API.ACCOUNT.PURGE.ACC", "{}"u8).Error.ShouldBeNull(); router.Route("$JS.API.ACCOUNT.STREAM.MOVE.ACC", "{}"u8).Error.ShouldBeNull(); router.Route("$JS.API.ACCOUNT.STREAM.MOVE.CANCEL.ACC", "{}"u8).Error.ShouldBeNull(); } }