コード例 #1
0
        public async Task GetMangaReviewsAsync_BerserkId_ShouldParseBerserkReviews()
        {
            // When
            var berserk = await _jikan.GetMangaReviewsAsync(2);

            // Then
            using (new AssertionScope())
            {
                berserk.Data.First().User.Username.Should().Be("TheCriticsClub");
                berserk.Data.First().MalId.Should().Be(4403);
                berserk.Data.First().Votes.Should().BeGreaterThan(1200);
                berserk.Data.First().ReviewScores.Overall.Should().Be(10);
                berserk.Data.First().ReviewScores.Story.Should().Be(9);
            }
        }