How do I mock both a final and a static using Mockito

前端 未结 0 1468
独厮守ぢ
独厮守ぢ 2020-12-13 13:12

So I have a couple Tests that run using mockito. One requires a static to be mocked so I use PowerMockito like this...

BDDMockito.given(WebClient.create(any()         


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