示例#1
0
        protected MappingTestsSuite()
        {
            var mapper = new AutoMapper.MapperConfiguration(cfg =>
            {
                cfg.AddProfile(new ApplicationMappingProfile());
            }).CreateMapper();

            MappingService = new ApplicationMappingService(mapper);
        }
示例#2
0
 public ApplicationMappingServiceTestsSuite()
 {
     Mapper         = new Mock <IMapper>();
     MappingService = new ApplicationMappingService(Mapper.Object);
 }