public InstanceManagerTest(IInstanceManagerClient instanceManagerClient, string testRootPath)
        {
            this.instanceManagerClient = instanceManagerClient ?? throw new ArgumentNullException(nameof(instanceManagerClient));
            this.testRootPath          = testRootPath ?? throw new ArgumentNullException(nameof(testRootPath));

            counter = 0;
        }
Exemplo n.º 2
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));
 }
Exemplo n.º 3
0
 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));
 }
Exemplo n.º 4
0
 public InstanceTest(IInstanceClient instanceClient, IInstanceManagerClient instanceManagerClient)
 {
     this.instanceClient        = instanceClient ?? throw new ArgumentNullException(nameof(instanceClient));
     this.instanceManagerClient = instanceManagerClient ?? throw new ArgumentNullException(nameof(instanceManagerClient));
 }