Пример #1
0
 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[ClientCall.Fluent];
     this.SetupSerialization();
 }
Пример #2
0
        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();
        }
Пример #3
0
        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();
        }