public void GetCountOfMovieReviews_NegativeNumber_ThrowsArguementException()
        {
            FakeMovieRatingRepository movieRatingRepository = new FakeMovieRatingRepository();
            IMovieRatingService       movieRatingService    = new MovieRatingService(movieRatingRepository);

            Action actual = () => movieRatingService.GetCountOfMovieReviews(-1);

            Assert.Throws <ArgumentException>(actual);
        }
        public void GetCountOfMovieReviews_ValidNumber_ReturnsAmountOfMovieReviews(int movie, int count)
        {
            FakeMovieRatingRepository movieRatingRepository = new FakeMovieRatingRepository();

            movieRatingRepository.Add(new MovieRating(1, 3, 1, DateTime.Now));
            movieRatingRepository.Add(new MovieRating(2, 1, 4, DateTime.Now));
            movieRatingRepository.Add(new MovieRating(2, 2, 1, DateTime.Now));
            movieRatingRepository.Add(new MovieRating(2, 2, 1, DateTime.Now));
            IMovieRatingService movieRatingService = new MovieRatingService(movieRatingRepository);

            int actual = movieRatingService.GetCountOfMovieReviews(movie);

            Assert.Equal(count, actual);
        }