public RelatorioControllerTest() { _service = new ServiceRelatorioFake(); _serviceVeic = new ServiceVeiculoFake(); _serviceEstab = new ServiceEstabelecimentoFake(); _controller = new RelatorioController(_serviceEstab, _serviceVeic, _service); }
public RelatorioController( IApplicationServiceEstabelecimento applicationServiceEstabelecimento, IApplicationServiceVeiculo applicationServiceVeiculo, IApplicationServiceRelatorio applicationServiceRelatorio) { this.applicationServiceEstabelecimento = applicationServiceEstabelecimento; this.applicationServiceVeiculo = applicationServiceVeiculo; this.applicationServiceRelatorio = applicationServiceRelatorio; }
public VeiculoControllerTest() { _service = new ServiceVeiculoFake(); _serviceEstab = new ServiceEstabelecimentoFake(); _controller = new VeiculoController(_service, _serviceEstab); }
public VeiculoController(IApplicationServiceVeiculo applicationServiceVeiculo, IApplicationServiceEstabelecimento applicationServiceEstabelecimento) { this.applicationServiceVeiculo = applicationServiceVeiculo; this.applicationServiceEstabelecimento = applicationServiceEstabelecimento; }