Moq.Dapper
Moq.Dapper copied to clipboard
Needs SetupSequential Support.
If I need to use the same IDBConnection to make sequential calls within the scope of a given test, can one Mock object support multiple SetupDapper(db => db.Query()) calls. It appears not.
When I have a moment I will look into this, but feel free to submit a PR attempting to fix it and I will be happy to review it.
@UnoSD - I also have this need. It looks like the current implementation just looks at the method name of the calling expression body and not the argument constraints. Unfortunately, that's as far as I have gotten and have no clue where to start in order to begin working on a PR attempting to fix.
+1
@UnoSD Greetings, is there a workaround for this use case?