Skip to content

Commit 009b3e9

Browse files
committed
Remove superfluous inheritance
1 parent e419bf2 commit 009b3e9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Tests/Framework/EndpointTests/ApiTestBase.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ protected virtual void OnAfterCall(IElasticClient client) { }
4646

4747
protected ApiTestBase(ClusterBase cluster, EndpointUsage usage) : base(cluster)
4848
{
49+
if (cluster == null) throw new ArgumentNullException(nameof(cluster));
50+
if (usage == null) throw new ArgumentNullException(nameof(usage));
51+
4952
this._usage = usage;
5053
this.Cluster = cluster;
5154

0 commit comments

Comments
 (0)