UnoSD / Moq.Dapper

Moq extensions for Dapper methods.
GNU General Public License v2.0
173 stars 78 forks source link

Requesting support for Verify functions too #94

Open brandonfox opened 11 months ago

brandonfox commented 11 months ago

I have a case where I've mocked the IDBConnection method but want to check to see if it was called with certain parameters (such as the sql query).

I want to propose that since since Setup functions are supported then Verify functions should also be supported

"Extension methods (here: SqlMapper.QuerySingle) may not be used in setup / verification expressions."