Using Moq to mock some constructor arguments and letting Ninject take care of the rest?
My service takes a bunch of arguments in the constructor which are normally injected by Ninject. When writing a unit test, could I mock just one of those constructor arguments and still have Ninject do the rest?
Aucun commentaire:
Enregistrer un commentaire