阅读背景:

phpunit避免使用mock的构造函数参数

来源:互联网 

What is the way to avoid phpunit having to call the constructor for a mock object? Otherwise I would need a mock object as constructor argument, another one for that etc. The api seems to be like this:What is the way to avoid phpunit having to call




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: