public void ProcessWords_TestOnSetOfWords(string[] words) { var reader = new WordReaderMockup(words); var processor = new WordProcessorMockup(); Program.ProcessWords(reader, processor); CollectionAssert.AreEqual(words, processor.Words); }
public void ProcessWords_TestOnSetOfWords(string[] words) { var reader = new WordReaderMockup(words); var processor = new WordProcessorMockup(); Program.ProcessWords(reader, processor); CollectionAssert.AreEqual(words, processor.Words); }