public void TestCountTags() { var articleService = new ArticleService(_articleRepository.Object); var countTags = articleService.CountTags(); Assert.IsNotNull(countTags); Assert.AreEqual(2, countTags.Count); Assert.AreEqual(2, countTags[_cSharp]); Assert.AreEqual(1, countTags[_vb]); }
public void TestCountTags() { var articleService = new ArticleService(_articleRepository.Object); var countTags = articleService.CountTags(); Assert.IsNotNull(countTags); Assert.AreEqual(2, countTags.Count); Assert.AreEqual(2, countTags[_cSharp]); Assert.AreEqual(1, countTags[_vb]); }