Mockito: How can I mock the logger found using the @Slf4J

后端 未结 0 1780
有刺的猬
有刺的猬 2021-01-27 03:04

Is there a way to mock the logger found in @Slf4j without using powermock? When using this annotation it creates a logger like this

private static fi         


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