public void SetUp() { _desiredLength = 6; _wordsIndexFactory = new WordsIndexFactory(); _allPossibleCombinationsFinder = new AllPossibleCombinationsFinder(); _wordCombinationFilter = new WordCombinationFilter(); _sut = new WordCombinationFinder(_desiredLength, _wordsIndexFactory, _allPossibleCombinationsFinder, _wordCombinationFilter); }
public virtual void SetUp() { _desiredLength = 6; _wordsIndexFactory = A.Fake <IWordsIndexFactory>(); _allPossibleCombinationsFinder = A.Fake <IAllPossibleCombinationsFinder>(); _wordCombinationFilter = A.Fake <IWordCombinationFilter>(); _sut = new WordCombinationFinder(_desiredLength, _wordsIndexFactory, _allPossibleCombinationsFinder, _wordCombinationFilter); }