Example #1
0
 public NumberToWordsService(ICurrencyParser currencyParser, ICurrencyOutputFormatter currencyFormatter, ITranslateNumber numberTranslator, IServiceConfigurations serviceConfigurations)
 {
     _currencyParser        = currencyParser;
     _currencyFormatter     = currencyFormatter;
     _numberTranslator      = numberTranslator;
     _serviceConfigurations = serviceConfigurations;
 }
 public void SetUp()
 {
     _service = new NumberTranslator();
 }
 public ConvertNumberToWordsService(ICurrencyParser currencyParser, IFormatCurrency currencyFormatter, ITranslateNumber numberTranslator)
 {
     _currencyParser    = currencyParser;
     _currencyFormatter = currencyFormatter;
     _numberTranslator  = numberTranslator;
 }