public AutorServiceIntegrationTest(DependencyFixture fixture)
        {
            _serviceProvider = fixture.ServiceProvider;
            _service         = _serviceProvider.GetService <IAutorService>();

            var db = _serviceProvider.GetService <ObrasDbContext>();

            db.SetTestMode();

            _context = db;
        }
 public AutorRepository(ObrasDbContext context)
 {
     _context = context;
 }