protected RequestResponseApiTestBase(ClusterBase cluster, EndpointUsage usage) : base(usage) { this._usage = usage ?? throw new ArgumentNullException(nameof(usage)); this.Cluster = cluster ?? throw new ArgumentNullException(nameof(cluster)); this.Responses = usage.CallOnce(this.ClientUsage); this.UniqueValues = usage.CallUniqueValues; }
protected RequestResponseApiTestBase(TCluster cluster, EndpointUsage usage) : base(cluster.Client) { _usage = usage ?? throw new ArgumentNullException(nameof(usage)); Cluster = cluster; Responses = usage.CallOnce(ClientUsage); UniqueValues = usage.CallUniqueValues; }
protected ApiTestBase(IIntegrationCluster cluster, EndpointUsage usage) { this._cluster = cluster; this._responses = usage.CallOnce(this.ClientUsage); this.Port = cluster.Node.Port; this.UniqueValues = usage.CallUniqueValues; this.CallIsolatedValue = UniqueValues[Integration.ClientMethod.Fluent]; this.SetupSerialization(); }
protected ApiTestBase(ClusterBase cluster, EndpointUsage usage) : base(cluster) { this._usage = usage ?? throw new ArgumentNullException(nameof(usage)); this.Cluster = cluster ?? throw new ArgumentNullException(nameof(cluster)); this._responses = usage.CallOnce(this.ClientUsage); this._uniqueValues = usage.CallUniqueValues; this.SetupSerialization(); }
protected ApiTestBase(ClusterBase cluster, EndpointUsage usage) : base(cluster) { this._usage = usage; this.Cluster = cluster; this._responses = usage.CallOnce(this.ClientUsage); this._port = cluster.Node.Port; this._uniqueValues = usage.CallUniqueValues; this.SetupSerialization(); }