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