Ejemplo n.º 1
0
        public async Task GetAnimeReviewsAsync_BebopId_ShouldParseCowboyBebopReviews()
        {
            // When
            var bebop = await _jikan.GetAnimeReviewsAsync(1);

            // Then
            var firstReview = bebop.Data.First();

            using (new AssertionScope())
            {
                firstReview.User.Username.Should().Be("TheLlama");
                firstReview.MalId.Should().Be(7406);
                firstReview.EpisodesWatched.Should().Be(26);
                firstReview.Votes.Should().BeGreaterThan(1400);

                firstReview.ReviewScores.Overall.Should().Be(10);
                firstReview.ReviewScores.Animation.Should().Be(9);
            }
        }