Using PowerMockito to mock object creation

前端 未结 0 588
一向
一向 2021-01-05 12:03

Can anyone give an idea of how to mock object creation for A a= new B() using PowerMockito (Class B implements the interface A)? I have tried as follows. But th

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