且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

发出http请求的测试方法

更新时间:2022-04-05 05:39:00

适合模拟对象应该让您轻松地进行这样的模拟;如果您不熟悉这个概念,那么这里有一个很好的教程

Suitable Mock Objects should let you perform such simulations easily; if you're unfamiliar with the concept, there's a good tutorial here.