I'm trying to find out a way to unit test the search results from the SearchResults<T> Class
with different parameters.
Compared to DocumentSearchResult<T> Class
which was in the previous package Microsoft.Azure.Search.Data v10.1.0
, SearchResults<T> Class
does not have any constructors, just properties and methods.
DocumentSearchResult<T> Class
https://learn.microsoft.com/en-us/dotnet/api/microsoft.azure.search.models.documentsearchresult-1?view=azure-dotnet
SearchResults<T> Class
https://learn.microsoft.com/en-us/dotnet/api/azure.search.documents.models.searchresults-1?view=azure-dotnet
I couldn't seem to find any documentation on that online as it is relatively new, but any ideas or suggestions are most welcome.
Thank you.