Example #1
0
        public CommandTestFixture()
        {
            Context = CustomerContextFactory.Create();

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

            Mapper = configurationProvider.CreateMapper();
        }
Example #2
0
 public CommandTestBase()
 {
     _context = CustomerContextFactory.Create();
 }
Example #3
0
 public void Dispose()
 {
     CustomerContextFactory.Destroy(_context);
 }