Unable to mock static method

后端 未结 0 1599
误落风尘
误落风尘 2020-12-15 13:14

I\'m trying to mock the getBean() method in the following class:

@Service
public class BeanUtil implements ApplicationContextAware {
    private static Applic         


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