internal HttpRequestMock(IHttpRequestToBeExecuted getResult, IHttpRequestToBeExecuted postResult, IHttpRequestToBeExecuted putResult, IHttpRequestToBeExecuted deleteResult, IHttpRequestToBeExecuted customResult) { this.GetResult = getResult; this.PostResult = postResult; this.PutResult = putResult; this.DeleteResult = deleteResult; this.CustomResult = customResult; }
public HttpRequestMockBuilder withCustomResult(IHttpRequestToBeExecuted result) { this.CustomResult = result; return(this); }
public HttpRequestMockBuilder withDeleteResult(IHttpRequestToBeExecuted result) { this.DeleteResult = result; return(this); }