How to mock private methods using Whitebox(org.powermock.reflect)

后端 未结 0 1156
我在风中等你
我在风中等你 2021-01-15 12:25

I want to mock a private method which has been called inside another method.

Following is the sample code, I have written.

Java code:

pack         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题