public void Setup()
 {
     _sut = new CurrencyToWordsConverter();
 }
예제 #2
0
 public CurrencyToWordsConverterController(ICurrencyToWordsConverter currencyToWordsConverter)
 {
     this.CurrencyToWordsConverter = currencyToWordsConverter;
 }
예제 #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CurrencyToWordsConverterTest"/> class.
 /// </summary>
 public CurrencyToWordsConverterTest()
 {
     this.SplitNumberParts         = new SplitNumberParts();
     this.NumberToWordsConverter   = new NumberToWordsConverter(this.SplitNumberParts);
     this.CurrencyToWordsConverter = new CurrencyToWordsConverter(this.NumberToWordsConverter);
 }