示例#1
0
        public WebUtilServiceTest()
        {
            var mockHttp = new MockHttpMessageHandler();

            mockHttp.When("http://localost/api/user/*")
            .Respond("text/plain", "test");
            _webUtilService = new WebUtilService(mockHttp);
        }
示例#2
0
 public WeiXinPayService(IWebUtilService iWebUtilService)
 {
     _iWebUtilService = iWebUtilService;
 }