// Copyright 2020-2025 The NATS Authors // Licensed under the Apache License, Version 2.0 namespace ZB.MOM.NatsNet.Server.IntegrationTests.Helpers; /// /// Provides NATS client connections for integration tests. /// public static class NatsTestClient { /// /// Connects to the given test server. Throws /// when no cluster server is available. /// public static IDisposable ConnectToServer(object server) { throw new ClusterNotAvailableException("Cannot connect: cluster server not available."); } /// /// Connects to the given test server with JetStream context. /// Returns an (nc, js) tuple. /// public static (IDisposable Nc, object Js) ConnectWithJetStream(object server) { throw new ClusterNotAvailableException("Cannot connect: cluster server not available."); } }