I saw this article to Mock ISearchResponse: How to test ElasticClient with Moq and .net · GitHub
But I need to provide data for Hits and Fields inside Hits for my Unit test cases.
How can I do that?
I saw this article to Mock ISearchResponse: How to test ElasticClient with Moq and .net · GitHub
But I need to provide data for Hits and Fields inside Hits for my Unit test cases.
How can I do that?
I wonder if anyone else in the community has an open data source for you to use. I’m not aware of one