public void GetOptionParseSVNEntries( [Frozen] Mock <IHttpClient> httpClientMock, [Greedy] SpiderComponent sut, bool parseSVNEntries) { // ARRANGE var json = new JObject( new JProperty("ParseSVNEntries", parseSVNEntries)); httpClientMock.SetupApiCall(sut, CallType.View, "optionParseSVNEntries") .Returns(json.ToString()) .Verifiable(); // ACT var result = sut.GetOptionParseSVNEntries(); // ASSERT result.Should().Be(parseSVNEntries); httpClientMock.Verify(); }