阅读背景:

可以Spock Mock一个Java构造函数

来源:互联网 

Trying to broaden the appeal of Spock at work and run into this issue. Actually trying to write Unit Tests for a Groovy class, but one that calls out to Java. A static method calls a private constructor. The code looks like:Trying to broaden the appeal of Spock at work a




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

分享到: