public InstanceManagerTest(IInstanceManagerClient instanceManagerClient, string testRootPath) { this.instanceManagerClient = instanceManagerClient ?? throw new ArgumentNullException(nameof(instanceManagerClient)); this.testRootPath = testRootPath ?? throw new ArgumentNullException(nameof(testRootPath)); counter = 0; }
public InstanceManagerTest(IServerClient serverClient, string testRootPath) { this.serverClient = serverClient ?? throw new ArgumentNullException(nameof(serverClient)); this.instanceManagerClient = serverClient.Instances; this.usersClient = serverClient.Users; this.testRootPath = testRootPath ?? throw new ArgumentNullException(nameof(testRootPath)); }
public ChatTest(IChatBotsClient chatClient, IInstanceManagerClient instanceClient, Api.Models.Instance metadata) { this.chatClient = chatClient ?? throw new ArgumentNullException(nameof(chatClient)); this.instanceClient = instanceClient ?? throw new ArgumentNullException(nameof(instanceClient)); this.metadata = metadata ?? throw new ArgumentNullException(nameof(metadata)); }
public InstanceTest(IInstanceClient instanceClient, IInstanceManagerClient instanceManagerClient) { this.instanceClient = instanceClient ?? throw new ArgumentNullException(nameof(instanceClient)); this.instanceManagerClient = instanceManagerClient ?? throw new ArgumentNullException(nameof(instanceManagerClient)); }