示例#1
0
 public void WhenTextAnalyzerIsRunWithNullSentence()
 {
     try
     {
         var ta = new TextAnalyzer();
         _wordCounts = ta.CountDistinctWords(_sentence);
     }
     catch (Exception e)
     {
         ScenarioContext.Current.Add("Exception_NullSentence", e);
     }
 }
示例#2
0
 public void WhenTextAnalyzerIsRun()
 {
     var ta = new TextAnalyzer();
     _wordCounts = ta.CountDistinctWords(_sentence);
 }