Пример #1
0
        public ProductGetTests()
        {
            _mapper = new MapperConfiguration(cfg => {
                cfg.AddProfile <EntityRequestMapping>();
            }).CreateMapper();

            _factory = new DbContextMock.InMemoryFactory();
        }
Пример #2
0
 public ProductUpdateTests()
 {
     _mockMapper = new Mock <IMapper>();
     _factory    = new DbContextMock.InMemoryFactory();
 }