阅读背景:

如何使用PowerMock模拟私有方法进行测试?

来源:互联网 

I have a class which I would like to test with a public method that calls private one. I'd like to assume that private method works correctly. For example, I'd like something like I have a class which I would like to test with




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

分享到: