ninject / Ninject.MockingKernel

Extension for Ninject aiding testability in Moq, NSubstitute, and FakeItEasy
http://ninject.org/
Other
62 stars 25 forks source link

You cannot setup expectations on your "inner" mocks if they aren't public #3

Closed hiredgunhouse closed 13 years ago

hiredgunhouse commented 14 years ago

See moq-contrib and AutoMockContainer to compare. It has GetMock() method. This however implies that your mocks must be using singleton scope.

remogloor commented 13 years ago

A GetMock method has been added