public PostResponse Get(HttpRequestMessage request, string category)
        {
            var requestParameters = _requestParametersParser.Parse(request, category);

            var filters    = GetFilters(category);
            var pagination = GetPagination(requestParameters);

            var blogFeedContents = _blogFeedReader.Read(requestParameters.FeedUrl, filters, pagination);

            var postResponse = new PostResponse(requestParameters, blogFeedContents);

            return(postResponse);
        }
        public void Should_GetFeedUrlValue_FromConfigurationFile_UsingParser()
        {
            var httpRequestMessage = new HttpRequestMessage
            {
                RequestUri = new Uri(string.Format("http://www.something.com/api/resource?feedurl={0}", FeedUrl))
            };

            var obtained = _requestParametersParser.Parse(httpRequestMessage, Category);

            obtained.FeedUrl.Should().Be(FeedUrl);
        }