I\'m unit testing a method which uses automapper to map a class from my domain to a linq to sql class. Roughly, the classes and mapping are below (The SupplierEligibilityAl
It appears you are specifying the wrong type on your call to Mapper.CreateMap
Mapper.CreateMap
Try doing something like the following:
Mapper.CreateMap()