How to mock another method in the same class which is being tested?

后端 未结 2 1696
自闭症患者
自闭症患者 2020-12-10 15:34

I am writing JUnit Test case for a class which has two methods methodA,methodB. I would like to mock the call to the methodB from methodA in my test case I am using spy on

2条回答
提交回复
热议问题