public ConverterPropertyGroup( INumeralConverter sut, FSharpFunc <int, string> toNumeralImp, FSharpFunc <string, FSharpOption <int> > tryParseImp) { this.Sut = sut; this.ToNumeralImp = toNumeralImp; this.TryParseImp = tryParseImp; }
public ConverterPropertyGroup( INumeralConverter sut, FSharpFunc<int, string> toNumeralImp, FSharpFunc<string, FSharpOption<int>> tryParseImp) { this.Sut = sut; this.ToNumeralImp = toNumeralImp; this.TryParseImp = tryParseImp; }
public IntegerSubstitutionService(IntegerMatcher integerMatcher, INumeralConverter <int, string> converter) { this.integerMatcher = integerMatcher; this.converter = converter; }
public void SetUp() { converter = Substitute.For <INumeralConverter <int, string> >(); converter.Convert(Arg.Any <int>()).Returns("convertedNumeral"); service = new IntegerSubstitutionService(IntegerMatcher.From1To3999, converter); }
public CardinalConverter(INumeralConverter numeralConverter) { _numeralConverter = numeralConverter; }
public Application( INumeralConverter numeralConverter ) { this.numeralConverter = numeralConverter; }
public void SetUp() { arabicToRomanConverter = new ArabicToRomanConverter(); substitutionService = new IntegerSubstitutionService(IntegerMatcher.From1To3999, arabicToRomanConverter); }