mardi 9 juin 2015

Get Mock with AutoMock.Create<>()

I am using the AutoMock integration of Autofaq and Moq

Is there a way to get a mock from AutoMock.Create<Service>()?

The reason I want this, is to mock some methods of the class under test (Service) like shown here and also keep the automatic creation of mock dependencies.

Aucun commentaire:

Enregistrer un commentaire