Mocking a return result set from SearchAsync where SearchResult only has an Internal Constructor #422
Unanswered
ramonhenares
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to mock Search/SearchAsync from the ISearchCommandsAsync/ISearchCommands/FT areas and am running into a problem when returning a resultset as the class SearchResult only has an internal constructor. What is the best method in returning a result set when mocking a Search done through IDatabase.FT().Search / IDatabase.FT().SearchAsync ?
Beta Was this translation helpful? Give feedback.
All reactions