public CompraServiceTestes() { _context = InMemoryContextFactory.Create(); _revendedorRepository = new RevendedorRepository(_context); _revendedorService = new RevendedorService(_revendedorRepository, null); _configuration = InMemoryContextFactory.CreateConfiguration(); _repository = new CompraRepository(_context); _service = new CompraService(_configuration, _repository, _revendedorRepository, null); }
public RevendedorServiceTestes() { _context = InMemoryContextFactory.Create(); _repository = new RevendedorRepository(_context); _service = new RevendedorService(_repository, null); }