public QueryTestFixture()
        {
            Context = TestContextFactory.Create();

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

            Mapper = configurationProvider.CreateMapper();
        }
 public void Dispose()
 {
     TestContextFactory.Destroy(Context);
 }
 public CommandTestBase()
 {
     _context = TestContextFactory.Create();
 }