예제 #1
0
 public void SetUp()
 {
     _fileReader         = new FileReader();
     _sourceFile         = new FileInfo(Path.Combine(Path.GetDirectoryName(GetType().Assembly.Location), "wordlist.txt"));
     _wordListDataSource = new WordListFromFileDataSource(_fileReader, _sourceFile);
     _sut = new WordListReader(_wordListDataSource);
 }
예제 #2
0
 public void SetUp()
 {
     _wordListDataSource = A.Fake <IWordListDataSource>();
     _sut = new WordListReader(_wordListDataSource);
 }