Exemplo n.º 1
0
        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 TaxaDeJurosPadraoFactory(ITaxaDeJurosPadraoBuilder <ITaxaDeJurosPadrao> taxaDeJurosPadraoBuilder)
 {
     _taxaDeJurosPadraoBuilder = taxaDeJurosPadraoBuilder;
 }