How to mock CloseableIterator in a test?

前端 未结 0 1180
野的像风
野的像风 2020-12-20 21:44

In my implementation I\'m grabbing data from ElasticSearch via ElasticsearchTemplate#stream() which returns CloseableIterator<>.

I\'d like to mock

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