public GitController( ILogger <GitController> logger, ICalculoJurosApp calculoJurosApp) { _logger = logger; _calculoJurosApp = calculoJurosApp; }
public GitControllerTest() { _gitApiService = new ApiGitServiceTest(); _gitService = new GitServiceTest(); _serviceApp = new CalculoJurosApp(_calcularJurosService, _gitService); _logger = Mock.Of <ILogger <GitController> >(); _controller = new GitController(_logger, _serviceApp); }
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); }