public void Initialize() { BaseSqlTest.SeedDatabase(); _repository = new FaturamentoLotericaSQLRepository(); _service = new FaturamentoLotericaService(_repository); }
public void Initialize() { _faturamentoLotericaRepository = new Mock <IFaturamentoLotericaRepository>(); _service = new FaturamentoLotericaService(_faturamentoLotericaRepository.Object); }