public WebUtilServiceTest() { var mockHttp = new MockHttpMessageHandler(); mockHttp.When("http://localost/api/user/*") .Respond("text/plain", "test"); _webUtilService = new WebUtilService(mockHttp); }
public WeiXinPayService(IWebUtilService iWebUtilService) { _iWebUtilService = iWebUtilService; }