We use injected delegates extensively, and would love to use MockingKernel also for delegates.
Moq 4.1. started supporting mocking of delegates (all other supported frameworks already supports it), so this change enables MockingKernel to also create mocks of delegates.
Note that the order of IMissingBindingResolver-s is imported, since SelfBindingResolver claims delegates are self bound, even though they are not!
We use injected delegates extensively, and would love to use MockingKernel also for delegates.
Moq 4.1. started supporting mocking of delegates (all other supported frameworks already supports it), so this change enables MockingKernel to also create mocks of delegates.
Note that the order of IMissingBindingResolver-s is imported, since SelfBindingResolver claims delegates are self bound, even though they are not!