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