public BusinessService( IRepository repository, ISubstitutionService substitutionService, IValidationManager validationManager, ITsvParser <TsvModel> tsvParser, IRandomGenerator randomGenerator, AppSettings appSettings ) { _repository = repository; _substitutionService = substitutionService; _validationManager = validationManager; _tsvParser = tsvParser; _randomGenerator = randomGenerator; _appSettings = appSettings; }
public void SetUp() { arabicToRomanConverter = new ArabicToRomanConverter(); substitutionService = new IntegerSubstitutionService(IntegerMatcher.From1To3999, arabicToRomanConverter); }