public void SetOptionMaxDepth( [Frozen] Mock <IHttpClient> httpClientMock, [Greedy] SpiderComponent sut, int value) { // ARRANGE httpClientMock.SetupApiCall(sut, CallType.Action, "setOptionMaxDepth", new Parameters { { "Integer", value } }) .ReturnsOkResult() .Verifiable(); // ACT sut.SetOptionMaxDepth(value); // ASSERT httpClientMock.Verify(); }