Пример #1
0
        public async Task GetClubMembersAsync_BebopId_ShouldParseCowboyBebopClubMemberList()
        {
            // When
            var club = await _jikan.GetClubMembersAsync(1);

            // Then
            using (new AssertionScope())
            {
                club.Data.Should().NotBeEmpty();
                club.Data.First().Username.Should().Be("--Pascal--");
                club.Pagination.HasNextPage.Should().BeFalse();
                club.Pagination.LastVisiblePage.Should().Be(1);
            }
        }