public void WordCount_GenerateStatistics_Success() { // arrange var text = testString; var calculator = new WordCount(); // act var statistic = calculator.GenerateStatistic(text); // assert Assert.Equal(StatisticType.NumberOfWords, statistic.Type); Assert.Equal(22, statistic.Value); }