I've used AutoMapper in my controller for mapping my Model objects to my ViewModel objects. A IMappingEngine object is injected in my controllers by Unity and the Mapping configuration is done in the global.asax.
In my controller's unit tests, how should I mock the IMappingEngine passed as parameter in the constructor ?
Do I have to setup all the mapping configuration again in the unit test project ?