jmg48 / NSubstitute.DbConnection

Helper extensions for mocking database queries using NSubstitute
MIT License
5 stars 4 forks source link

"Not implemented" exception when trying to mock a query returning List<String> #14

Open R-J-Turner opened 3 hours ago

R-J-Turner commented 3 hours ago

When I try to mock a query which returns a List of String, this fails with the following message:

Not yet implemented - if you need this method please raise a request on github :)

The issue can be replicated by running "Test2" within the "UnitTest1" class of the following repo.

jmg48 commented 2 hours ago

Hi, thanks for raising this and for supplying an example to reproduce. I'll take a look into this and get back to you soon

best wishes, Jon