Json to SearchResponse? or How to Mock a SearchResponse?

Is there anyway to convert the response value I got from my transport client(json) into a SearchResponse object?

I'm doing some unit testing and would like to mock out the SearchResponse Object. For these tests I don't want to spin up a node or embedded elasticsearch.



1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.