public void UpdateArticlesTest()
        {
            var article = new ArticleDocument
            {
                Id          = 1,
                Title       = "Test Article 1",
                Body        = "Body 1",
                CreatedOn   = DateTime.Now,
                IsPublished = true
            };

            var added = _redisClient.Update("article:" + article.Id, article);

            Assert.IsTrue(added);
        }
        public void AddArticlesTest()
        {
            var article = new ArticleDocument
            {
                Id          = 1,
                Title       = "Test Article 1",
                Body        = "Body",
                CreatedOn   = DateTime.Now,
                IsPublished = true
            };

            var added = _redisClient.Add("article:" + article.Id, article, GetDefaultTimeSpan());

            Assert.IsTrue(added);
        }