public void GetCountOfGradesByReviewer_TwoValidNumbers_ReturnsAmountOfGradesOfReviewer(int reviewer, int grade, int count)
        {
            FakeMovieRatingRepository movieRatingRepository = new FakeMovieRatingRepository();

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

            int actual = movieRatingService.GetCountOfGradesByReviewer(reviewer, grade);

            Assert.Equal(count, actual);
        }
        public void GetCountOfGradesByReviewer_TwoInvalidNumbers_ThrowsArguementException(int reviewer, int grade)
        {
            FakeMovieRatingRepository movieRatingRepository = new FakeMovieRatingRepository();
            MovieRating movieRating1 = new MovieRating(1, 3, 2, DateTime.Now);
            MovieRating movieRating2 = new MovieRating(2, 1, 4, DateTime.Now);
            MovieRating movieRating3 = new MovieRating(2, 2, 1, DateTime.Now);
            MovieRating movieRating4 = new MovieRating(2, 3, 1, DateTime.Now);

            movieRatingRepository.Add(movieRating1);
            movieRatingRepository.Add(movieRating2);
            movieRatingRepository.Add(movieRating3);
            movieRatingRepository.Add(movieRating4);
            IMovieRatingService movieRatingService = new MovieRatingService(movieRatingRepository);

            Action actual = () => movieRatingService.GetCountOfGradesByReviewer(reviewer, grade);

            Assert.Throws <ArgumentException>(actual);
        }