Skip to content

Commit 153b0dd

Browse files
russcamMpdreamz
authored andcommitted
Remove superfluous inheritance
1 parent 5af6c02 commit 153b0dd

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
@@ -47,6 +47,9 @@ protected virtual void OnAfterCall(IElasticClient client) { }
4747

4848
protected ApiTestBase(IIntegrationCluster cluster, EndpointUsage usage)
4949
{
50+
if (cluster == null) throw new ArgumentNullException(nameof(cluster));
51+
if (usage == null) throw new ArgumentNullException(nameof(usage));
52+
5053
this._usage = usage;
5154
this.Cluster = cluster;
5255

0 commit comments

Comments
 (0)