Mocking is not working when called from another class

后端 未结 0 1290
伪装坚强ぢ
伪装坚强ぢ 2021-01-05 16:14

I need to mock the method C() which is being called from B()

public class A {
    public void B() {
        String val = C();
        System.out.println(val);         


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