protected MappingTestsSuite() { var mapper = new AutoMapper.MapperConfiguration(cfg => { cfg.AddProfile(new ApplicationMappingProfile()); }).CreateMapper(); MappingService = new ApplicationMappingService(mapper); }
public ApplicationMappingServiceTestsSuite() { Mapper = new Mock <IMapper>(); MappingService = new ApplicationMappingService(Mapper.Object); }