How to create a @MockBean with pre-defined answers?

后端 未结 0 1189
生来不讨喜
生来不讨喜 2021-02-05 01:22

I have a MockBean in my test:

@MockBean(SomeClient.class)
SomeClient client;

I\'m starting up a spring-boot test:

@ExtendWith(Spri         


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