How do you test method from extended class using Mockito?

后端 未结 0 1610
礼貌的吻别
礼貌的吻别 2021-01-16 02:47

I have a class A that extends from B. B has method called doB().

In my test, I want to return A when doB() is called.

Class B:

public String doB         


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