public void ContainOnlyWords_ThatPassAllFilters() { statisticsMaker = new StatisticsMaker(lemmatizer, new[] { filter1, filter2 }); statisticsMaker.MakeStatistics(words) .Should().BeEmpty(); }
public void CallFilter_ForEveryWord() { statisticsMaker.MakeStatistics(words); Mock.Assert(() => filter1.Filter(Arg.IsAny <Lexem>()), Occurs.Exactly(words.Count())); }