public void FindMostPopularTag_ShouldReturnTagWithCount(string url)
        {
            //Arrange
            var service = new TagInsightsService();

            var tags = service.GetTags(url);

            //Act
            var actual = service.FindMostPopularTag(tags);

            //Assert
            Assert.NotNull(tags);
            Assert.True(actual.Value > 0);
        }
        public void FindPaths_ShoudldReturnValidCollectionOfPaths(string url)
        {
            //Arrange
            var service = new TagInsightsService();

            var tagss = service.GetTags(url);

            var maxTag = service.FindMostPopularTag(tagss);

            //Act
            var actual = service.FindPaths(tagss, maxTag);

            //Assert
            foreach (var item in actual)
            {
                Assert.True(!string.IsNullOrEmpty(item.XPath));
                Assert.True(item.LevelCount > 0 && item.TagOccurrences > 0);
            }
        }