How to mock statement in @PostConstruct for Groovy Spock Test Case

前端 未结 0 809
余生分开走
余生分开走 2021-02-19 10:36

I have @PostConstruct in my Service class for which I am writing groovy test case. I have mocked the call inside the init() method but it doesn\'t work:

@Service
         


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