Closed lucastorri closed 1 year ago
Any update here?
Moq hasn't been upgraded to support generics yet. We need to do it.
@lucastorri can you check if this is still an issue?
Hi @sudo-suhas, I can confirm that it works with the reported case.
In case anyone is interested, here is the generated code:
Thanks all for the support!
Hi!
I went through the existing issues and was not sure whether one specific to supporting interfaces with generic types exists. I had a look at https://github.com/matryer/moq/issues/168, but this is about generating mocks for types which package uses generics.
In sum, I would like to have an interface such as:
and be able to use a generic mock in my test:
Thank you!