public TaxaDeJurosChain(ITaxaDeJurosPadraoFactory <ITaxaDeJurosPadrao> taxaDeJurosPadraoFactory, ITaxaDeJurosEspecialFactory <ITaxaDeJurosEspecial> taxaDeJurosEspecialFactory, ITaxasDeJurosContext taxasDeJurosContext) { _taxaDeJurosEspecialLink = new TaxaDeJurosEspecialLink(taxaDeJurosEspecialFactory, taxasDeJurosContext); _taxaDeJurosPadraoLink = new TaxaDeJurosPadraoLink(taxaDeJurosPadraoFactory, taxasDeJurosContext); _taxaDeJurosEspecialLink.SetProximoLink(_taxaDeJurosPadraoLink); }
public DomainTests() { _taxaDeJurosPadraoBuilderMock = new Mock <ITaxaDeJurosPadraoBuilder <ITaxaDeJurosPadrao> >(); _taxaDeJurosPadraoFactoryMock = new Mock <ITaxaDeJurosPadraoFactory <ITaxaDeJurosPadrao> >(); _taxaDeJurosPadraoMock = new Mock <ITaxaDeJurosPadrao>(); _taxaDeJurosPadrao = new TaxaDeJurosPadrao(Valor); _taxaDeJurosPadraoBuilder = new TaxaDeJurosPadraoBuilder(); _taxaDeJurosPadraoFactory = new TaxaDeJurosPadraoFactory(_taxaDeJurosPadraoBuilder); }
public TaxaDeJurosPadraoLink(ITaxaDeJurosPadraoFactory <ITaxaDeJurosPadrao> taxaDeJurosPadraoFactory, ITaxasDeJurosContext taxasDeJurosContext) : base(taxaDeJurosPadraoFactory) { _taxasDeJurosContext = taxasDeJurosContext; }