Beispiel #1
0
        public async Task Retornar_taxa_de_juros_com_sucesso()
        {
            _httpHelper.Setup(s => s.Get <dto.TaxaJuros>(_baseUrlApiTaxaJuros))
            .ReturnsAsync(_taxaJuros);

            var valorTaxaJuros = await _taxaJurosServico.ObterTaxa();

            valorTaxaJuros.Should().Be(_valorTaxaDeJuros);
            _httpHelper.Verify();
        }