Json to SearchResponse? or How to Mock a SearchResponse?


(Jonathan Aaron) #1

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.

Thanks,

Jonathan


(system) #2

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