public GitController(
     ILogger <GitController> logger,
     ICalculoJurosApp calculoJurosApp)
 {
     _logger          = logger;
     _calculoJurosApp = calculoJurosApp;
 }
Example #2
0
 public GitControllerTest()
 {
     _gitApiService = new ApiGitServiceTest();
     _gitService    = new GitServiceTest();
     _serviceApp    = new CalculoJurosApp(_calcularJurosService, _gitService);
     _logger        = Mock.Of <ILogger <GitController> >();
     _controller    = new GitController(_logger, _serviceApp);
 }
Example #3
0
 public CalcularJurosController(IJurosService jurosService,
                                ILogger <CalcularJurosController> logger,
                                ICalculoJurosApp calculoJurosApp)
 {
     _jurosService    = jurosService;
     _logger          = logger;
     _calculoJurosApp = calculoJurosApp;
 }
 public CalcularJurosControllerTest()
 {
     // instanciar variavel calculo
     InstanciarCalculo();
     _calcularJurosService = new CalcularJurosService();
     _logger       = Mock.Of <ILogger <CalcularJurosController> >();
     _serviceApp   = new CalculoJurosApp(_calcularJurosService, _gitService);
     _jurosService = new JurosServiceTest();
     _controller   = new CalcularJurosController(_jurosService, _logger, _serviceApp);
 }