Spying RestHighLevelClient in Mockito - Passing the Spied Object as Constructor Parameter

后端 未结 0 2033
灰色年华
灰色年华 2021-02-16 00:24

I have wrapped the RestHighLevelClient in another class like that:

 public class ElasticSearchClient {

    private final RestHighLevelClient client;
    ...
             


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