public Response FindByRating(int rating)
        {
            IEnumerable <IGameReviewModel> models = m_InformationFinder.FindByRating(rating);

            return(models == null
                       ? HttpStatusCode.NotFound
                       : AsJson(models));
        }
        public void FindByRating_Returns_Response_When_Called()
        {
            // Arrange
            const int doesNotMatter = -1;

            m_Finder.FindByRating(Arg.Any <int>()).Returns(new IGameReviewModel[0]);

            // Act
            Response actual = m_Sut.FindByRating(doesNotMatter);

            // Assert
            Assert.AreEqual(HttpStatusCode.OK,
                            actual.StatusCode);
        }