JUnit Mockito: mock a method called inside another method

后端 未结 0 1625
小鲜肉
小鲜肉 2020-12-08 20:07

Consider I have a class Tournament with methods register() and isAlreadyRegistered(). Below is the sample code.

public          


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