Esempio n. 1
0
        public TestBase()
        {
            Context = ContextFactory.Create();

            var config = new MapperConfiguration(cfg => { cfg.AddProfile <AutoMappingProfile>(); });

            Mapper = config.CreateMapper();
        }
Esempio n. 2
0
        public QueryTestFixture()
        {
            Context = ContextFactory.Create();

            var configurationProvider = new MapperConfiguration(cfg =>
            {
                cfg.AddProfile <MappingProfile>();
            });

            Mapper = configurationProvider.CreateMapper();
        }
 public CommandTestBase()
 {
     _context = ContextFactory.Create();
 }
Esempio n. 4
0
 public QueryTestFixture()
 {
     Context = ContextFactory.Create();
 }
Esempio n. 5
0
 public CommandTestBase()
 {
     _context    = ContextFactory.Create();
     _mapperMock = new Mock <IMapper>();
 }