public void GetUserFeedItems_UserIdRequired()
        {
            //Arrange
            //TODO use servicelocator for this
            IFeedManager feedManager = new FeedManager(_database);

            //Act
            var userFeed = new UserFeed();
            var response = feedManager.GetUserFeedItems(userFeed);

            //Assert
            Assert.IsNotNull(response);
            Assert.IsNotNull(response.Status);
            Assert.AreEqual(ErrorLevel.Error, response.Status.ErrorLevel, "User Id should be required");
        }
        public void GetUserFeedItems()
        {
            //Arrange
            //TODO use servicelocator for this
            IFeedManager feedManager = new FeedManager(_database);

            //Act
            var userFeed = new UserFeed
            {
                RavenUserId = "ravenuser/1",
                Feed = new Feed
                {
                    Id = "ravenfeed/1"
                }
            };
            var response = feedManager.GetUserFeedItems(userFeed);

            //Assert
            Assert.IsNotNull(response);
            Assert.IsNotNull(response.Status);
            Assert.AreEqual(ErrorLevel.None, response.Status.ErrorLevel, response.Status.ErrorMessage);
            Assert.IsNotNull(response.Data);
            Assert.Greater(response.Data.Count(), 0);
            Assert.IsNotNull(response.Data.First().Id);
        }